summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_mpeg4.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-03-08 22:53:42 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-21 14:54:03 +0100
commit97cd7a3dc005a0ad1656dbb2af92e9c5d0731f21 (patch)
treecd8ab4bc28010e20a6414d08dff141c97e373b41 /libavformat/rtpdec_mpeg4.c
parent81a3c42abe17e757fe890607f67201a240648993 (diff)
rtpdec_mpeg4: const correctness for parse_fmtp_config()
libavformat/rtpdec_mpeg4.c:282:38: warning: passing argument 2 of ‘parse_fmtp_config’ discards ‘const’ qualifier from pointer target type
Diffstat (limited to 'libavformat/rtpdec_mpeg4.c')
-rw-r--r--libavformat/rtpdec_mpeg4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_mpeg4.c b/libavformat/rtpdec_mpeg4.c
index bc50da2a8b..00a732b1cc 100644
--- 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, const char *value)
{
/* decode the hexa encoded parameter */
int len = ff_hex_to_data(NULL, value);