X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Froqvideodec.c;h=a0c293f2f0430d791e02f54a1d635c87a443b318;hb=cbe3f1b1fbc0e0bd2c265f1d9b78e29ac185f17b;hp=0ab7d399d6750aa37835b25dedf3a77d547ab83e;hpb=b2f32d60eeaf883bb7d9e1b8cc2fb9a983d08f72;p=ffmpeg diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c index 0ab7d399d67..a0c293f2f04 100644 --- a/libavcodec/roqvideodec.c +++ b/libavcodec/roqvideodec.c @@ -206,7 +206,7 @@ static int roq_decode_frame(AVCodecContext *avctx, int copy = !s->current_frame->data[0] && s->last_frame->data[0]; int ret; - if ((ret = ff_reget_buffer(avctx, s->current_frame)) < 0) + if ((ret = ff_reget_buffer(avctx, s->current_frame, 0)) < 0) return ret; if (copy) {