summaryrefslogtreecommitdiffstats
path: root/libavcodec/vmdav.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 19:48:39 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 23:25:20 +0100
commit371e1654434f5934ca1665df22387024a82e6e27 (patch)
tree83f51e22bd76e8145b88691697755e93f2da3ae4 /libavcodec/vmdav.c
parentfb2288834ba8a51e8934cfe8b82ac468144a34df (diff)
downloadffmpeg-streaming-371e1654434f5934ca1665df22387024a82e6e27.zip
ffmpeg-streaming-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/vmdav.c')
-rw-r--r--libavcodec/vmdav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c
index 63ac33d..718a9b9 100644
--- a/libavcodec/vmdav.c
+++ b/libavcodec/vmdav.c
@@ -421,7 +421,7 @@ static int vmdvideo_decode_frame(AVCodecContext *avctx,
if (buf_size < 16)
return buf_size;
- s->frame.reference = 1;
+ s->frame.reference = 3;
if (avctx->get_buffer(avctx, &s->frame)) {
av_log(s->avctx, AV_LOG_ERROR, "VMD Video: get_buffer() failed\n");
return -1;
OpenPOWER on IntegriCloud