Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
ac0e54fd
Commit
ac0e54fd
authored
Feb 24, 2015
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtpdec: Add const to string parameters in internal fmtp parsing functions
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
12251f99
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
rtpdec_h264.c
libavformat/rtpdec_h264.c
+1
-1
rtpdec_latm.c
libavformat/rtpdec_latm.c
+1
-1
rtpdec_mpeg4.c
libavformat/rtpdec_mpeg4.c
+1
-1
No files found.
libavformat/rtpdec_h264.c
View file @
ac0e54fd
...
...
@@ -66,7 +66,7 @@ static const uint8_t start_sequence[] = { 0, 0, 0, 1 };
static
void
parse_profile_level_id
(
AVFormatContext
*
s
,
PayloadContext
*
h264_data
,
char
*
value
)
c
onst
c
har
*
value
)
{
char
buffer
[
3
];
// 6 characters=3 bytes, in hex.
...
...
libavformat/rtpdec_latm.c
View file @
ac0e54fd
...
...
@@ -96,7 +96,7 @@ static int latm_parse_packet(AVFormatContext *ctx, PayloadContext *data,
return
data
->
pos
<
data
->
len
;
}
static
int
parse_fmtp_config
(
AVStream
*
st
,
char
*
value
)
static
int
parse_fmtp_config
(
AVStream
*
st
,
c
onst
c
har
*
value
)
{
int
len
=
ff_hex_to_data
(
NULL
,
value
),
i
,
ret
=
0
;
GetBitContext
gb
;
...
...
libavformat/rtpdec_mpeg4.c
View file @
ac0e54fd
...
...
@@ -98,7 +98,7 @@ static void free_context(PayloadContext *data)
av_free
(
data
);
}
static
int
parse_fmtp_config
(
AVCodecContext
*
codec
,
char
*
value
)
static
int
parse_fmtp_config
(
AVCodecContext
*
codec
,
c
onst
c
har
*
value
)
{
/* decode the hexa encoded parameter */
int
len
=
ff_hex_to_data
(
NULL
,
value
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment