mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-18 14:54:19 +08:00
lavc: Consistently prefix input buffer defines
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
@@ -102,7 +102,7 @@ static int parse_fmtp_config(AVCodecContext *codec, const char *value)
|
||||
/* decode the hexa encoded parameter */
|
||||
int len = ff_hex_to_data(NULL, value);
|
||||
av_free(codec->extradata);
|
||||
codec->extradata = av_mallocz(len + FF_INPUT_BUFFER_PADDING_SIZE);
|
||||
codec->extradata = av_mallocz(len + AV_INPUT_BUFFER_PADDING_SIZE);
|
||||
if (!codec->extradata)
|
||||
return AVERROR(ENOMEM);
|
||||
codec->extradata_size = len;
|
||||
|
Reference in New Issue
Block a user