diff options
Diffstat (limited to 'libavcodec/utvideo.c')
-rw-r--r-- | libavcodec/utvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utvideo.c b/libavcodec/utvideo.c index 413a3743c5..ed11776a36 100644 --- a/libavcodec/utvideo.c +++ b/libavcodec/utvideo.c @@ -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"); |