X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Favs.c;h=2f2361e5ea6f9eb637b50ab7653074d8cbba314a;hb=e1d993d829a6386d1b0514ea38f723d2b31b38fe;hp=66724d47b729cf3526bca606632f5b6e469cfc28;hpb=aebc5b2284db1f40a5b3e2e9a2bf406f606436c7;p=ffmpeg diff --git a/libavcodec/avs.c b/libavcodec/avs.c index 66724d47b72..2f2361e5ea6 100644 --- a/libavcodec/avs.c +++ b/libavcodec/avs.c @@ -59,7 +59,7 @@ avs_decode_frame(AVCodecContext * avctx, AvsBlockType type; GetBitContext change_map = {0}; //init to silence warning - if ((ret = ff_reget_buffer(avctx, p)) < 0) + if ((ret = ff_reget_buffer(avctx, p, 0)) < 0) return ret; p->pict_type = AV_PICTURE_TYPE_P; p->key_frame = 0;