Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2017-02-11 18:18:28 +0300
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2017-02-11 18:19:37 +0300
commited491db3e506c0e1ee6b9281ce898c4a79298e0f (patch)
tree55c7fa0a1275671f68dedaf6860428e001c3c179
parent7ff445874be1832c4398f6648d863de17eae2e93 (diff)
lavf/rtpdec_mpeg4: Constify a function parameter.
Silences an "assignment discards ‘const’ qualifier" warning.
-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 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);