Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 22:48:39 +0400
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-06 02:25:20 +0400
commit371e1654434f5934ca1665df22387024a82e6e27 (patch)
tree83f51e22bd76e8145b88691697755e93f2da3ae4 /libavcodec/xxan.c
parentfb2288834ba8a51e8934cfe8b82ac468144a34df (diff)
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/xxan.c')
-rw-r--r--libavcodec/xxan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xxan.c b/libavcodec/xxan.c
index 938a5581c4..180dcd47e8 100644
--- a/libavcodec/xxan.c
+++ b/libavcodec/xxan.c
@@ -378,7 +378,7 @@ static int xan_decode_frame(AVCodecContext *avctx,
int ftype;
int ret;
- s->pic.reference = 1;
+ s->pic.reference = 3;
s->pic.buffer_hints = FF_BUFFER_HINTS_VALID |
FF_BUFFER_HINTS_PRESERVE |
FF_BUFFER_HINTS_REUSABLE;