Merge remote-tracking branch 'qatar/master'
[ffmpeg.git] / libavcodec / utvideo.c
index 89854c277c4b6ca27ec25b09c4cec6f9d3750142..a45f13fa54e6c03d0ba2f2fe309dc4d93e4f4e5d 100644 (file)
@@ -369,7 +369,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
     if (c->pic.data[0])
         ff_thread_release_buffer(avctx, &c->pic);
 
-    c->pic.reference = 1;
+    c->pic.reference = 3;
     c->pic.buffer_hints = FF_BUFFER_HINTS_VALID;
     if ((ret = ff_thread_get_buffer(avctx, &c->pic)) < 0) {
         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");