Commit ed491db3 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavf/rtpdec_mpeg4: Constify a function parameter.

Silences an "assignment discards ‘const’ qualifier" warning.
parent 7ff44587
...@@ -97,7 +97,7 @@ static void close_context(PayloadContext *data) ...@@ -97,7 +97,7 @@ static void close_context(PayloadContext *data)
av_freep(&data->mode); 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 */ /* decode the hexa encoded parameter */
int len = ff_hex_to_data(NULL, value); int len = ff_hex_to_data(NULL, value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment