mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
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
This commit is contained in:
parent
81a3c42abe
commit
97cd7a3dc0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user