OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a3c42
)
rtpdec_mpeg4: const correctness for parse_fmtp_config()
author
Diego Biurrun
<diego@biurrun.de>
Tue, 8 Mar 2016 21:53:42 +0000
(22:53 +0100)
committer
Diego Biurrun
<diego@biurrun.de>
Mon, 21 Nov 2016 13:54:03 +0000
(14:54 +0100)
libavformat/rtpdec_mpeg4.c:282:38: warning: passing argument 2 of ‘parse_fmtp_config’ discards ‘const’ qualifier from pointer target type
libavformat/rtpdec_mpeg4.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec_mpeg4.c
b/libavformat/rtpdec_mpeg4.c
index
bc50da2
..
00a732b
100644
(file)
--- a/
libavformat/rtpdec_mpeg4.c
+++ b/
libavformat/rtpdec_mpeg4.c
@@
-97,7
+97,7
@@
static void close_context(PayloadContext *data)
av_free(data->mode);
}
-static int parse_fmtp_config(AVCodecParameters *par, char *value)
+static int parse_fmtp_config(AVCodecParameters *par, c
onst c
har *value)
{
/* decode the hexa encoded parameter */
int len = ff_hex_to_data(NULL, value);