diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2017-02-11 16:18:28 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2017-02-11 16:19:37 +0100 |
commit | ed491db3e506c0e1ee6b9281ce898c4a79298e0f (patch) | |
tree | 55c7fa0a1275671f68dedaf6860428e001c3c179 /libavformat/rtpdec_mpeg4.c | |
parent | 7ff445874be1832c4398f6648d863de17eae2e93 (diff) |
lavf/rtpdec_mpeg4: Constify a function parameter.
Silences an "assignment discards ‘const’ qualifier" warning.
Diffstat (limited to 'libavformat/rtpdec_mpeg4.c')
-rw-r--r-- | libavformat/rtpdec_mpeg4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_mpeg4.c b/libavformat/rtpdec_mpeg4.c index 304699ea41..068d378569 100644 --- a/libavformat/rtpdec_mpeg4.c +++ b/libavformat/rtpdec_mpeg4.c @@ -97,7 +97,7 @@ static void close_context(PayloadContext *data) av_freep(&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); |