X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fanm.c;h=23200474bd290f8688d716d2b2d04ed58b1f069e;hb=3240e69de6d37155bfdaf61a9828bfa0a296c326;hp=f7187973109c03f4607561f0f0099bba943abeac;hpb=247f4d1f181c2801b8321a7ddb88818dc4861155;p=ffmpeg diff --git a/libavformat/anm.c b/libavformat/anm.c index f7187973109..23200474bd2 100644 --- a/libavformat/anm.c +++ b/libavformat/anm.c @@ -133,7 +133,7 @@ static int read_header(AVFormatContext *s) /* color cycling and palette data */ st->codec->extradata_size = 16*8 + 4*256; - st->codec->extradata = av_mallocz(st->codec->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); + st->codec->extradata = av_mallocz(st->codec->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); if (!st->codec->extradata) { return AVERROR(ENOMEM); }