X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fxxan.c;h=afe60e156477de2f60257919a448314dcf4c71bc;hb=8fec9fca69c22fc41d8602d8bdf547f14c70fc06;hp=8bb7087af906b8a3dd4aeaeae117873e4cbd0c1f;hpb=41cd5af3250ef976f0a48adeb6dbccc9b2683e58;p=ffmpeg diff --git a/libavcodec/xxan.c b/libavcodec/xxan.c index 8bb7087af90..afe60e15647 100644 --- a/libavcodec/xxan.c +++ b/libavcodec/xxan.c @@ -410,7 +410,7 @@ static int xan_decode_frame(AVCodecContext *avctx, int ftype; int ret; - if ((ret = ff_reget_buffer(avctx, s->pic)) < 0) + if ((ret = ff_reget_buffer(avctx, s->pic, 0)) < 0) return ret; bytestream2_init(&s->gb, avpkt->data, avpkt->size);