]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/roqvideodec.c
lavc/jpeg2000dec: Allow to force a compatible pix_fmt.
[ffmpeg] / libavcodec / roqvideodec.c
index 0ab7d399d6750aa37835b25dedf3a77d547ab83e..a0c293f2f0430d791e02f54a1d635c87a443b318 100644 (file)
@@ -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) {