X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Favs.c;h=2f2361e5ea6f9eb637b50ab7653074d8cbba314a;hb=0181162bb54ce62ec212436a12d059726d8cd1df;hp=66724d47b729cf3526bca606632f5b6e469cfc28;hpb=39278ff0de5b5e3397c22538978bffbb38ee099b;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;