lavf/rtpdec_mpeg4: Constify a function parameter.

Silences an "assignment discards ‘const’ qualifier" warning.
This commit is contained in:
Carl Eugen Hoyos 2017-02-11 16:18:28 +01:00
parent 7ff445874b
commit ed491db3e5
1 changed files with 1 additions and 1 deletions

View File

@ -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);