summaryrefslogtreecommitdiff
path: root/libavcodec/bfi.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/bfi.c')
-rw-r--r--libavcodec/bfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bfi.c b/libavcodec/bfi.c
index 1f31d7fb61..8f4770e78f 100644
--- a/libavcodec/bfi.c
+++ b/libavcodec/bfi.c
@@ -61,7 +61,7 @@ static int bfi_decode_frame(AVCodecContext * avctx, void *data,
if (bfi->frame.data[0])
avctx->release_buffer(avctx, &bfi->frame);
- bfi->frame.reference = 1;
+ bfi->frame.reference = 3;
if (avctx->get_buffer(avctx, &bfi->frame) < 0) {
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");