X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fyop.c;h=aff28ef3fcdffe472108c8cbfb60afec98cc5a5a;hb=1e6cef686183288a50eb4e45265a3a7f7582b1b5;hp=32cfea200a1368ae9ab2763e608a202cbb4206d7;hpb=185aa5e896e15ae96145609944bfc6bbb239bc64;p=ffmpeg diff --git a/libavcodec/yop.c b/libavcodec/yop.c index 32cfea200a1..aff28ef3fcd 100644 --- a/libavcodec/yop.c +++ b/libavcodec/yop.c @@ -204,7 +204,7 @@ static int yop_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, return AVERROR_INVALIDDATA; } - if ((ret = ff_reget_buffer(avctx, frame)) < 0) + if ((ret = ff_reget_buffer(avctx, frame, 0)) < 0) return ret; if (!avctx->frame_number)