]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/indeo2.c
swr-test: drop one const, silence most const qualifer warnings.
[ffmpeg] / libavcodec / indeo2.c
index f7798e307d608c52346c5805ee71d2561681f28b..871a604406a99f9d555356239abbdccfaf915868 100644 (file)
@@ -146,7 +146,7 @@ static int ir2_decode_frame(AVCodecContext *avctx,
     AVFrame * const p= (AVFrame*)&s->picture;
     int start;
 
-    p->reference = 1;
+    p->reference = 3;
     p->buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE;
     if (avctx->reget_buffer(avctx, p)) {
         av_log(s->avctx, AV_LOG_ERROR, "reget_buffer() failed\n");