diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-11-05 19:48:39 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-11-05 23:25:20 +0100 |
commit | 371e1654434f5934ca1665df22387024a82e6e27 (patch) | |
tree | 83f51e22bd76e8145b88691697755e93f2da3ae4 /libavcodec/tiertexseqv.c | |
parent | fb2288834ba8a51e8934cfe8b82ac468144a34df (diff) | |
download | ffmpeg-371e1654434f5934ca1665df22387024a82e6e27.tar.gz |
Try to set AVFrame.reference to correct values.
I am not sure these new values are correct, not am I sure
the semantics are a good idea since we do not seem to make any
use of them but they caused a lot of confusion, but this
seems to make things closer to matching the documentation.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/tiertexseqv.c')
-rw-r--r-- | libavcodec/tiertexseqv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiertexseqv.c b/libavcodec/tiertexseqv.c index afe84b8a28..44ae10ecbb 100644 --- a/libavcodec/tiertexseqv.c +++ b/libavcodec/tiertexseqv.c @@ -231,7 +231,7 @@ static int seqvideo_decode_frame(AVCodecContext *avctx, SeqVideoContext *seq = avctx->priv_data; - seq->frame.reference = 1; + seq->frame.reference = 3; seq->frame.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE; if (avctx->reget_buffer(avctx, &seq->frame)) { av_log(seq->avctx, AV_LOG_ERROR, "tiertexseqvideo: reget_buffer() failed\n"); |