[FFmpeg-cvslog] vc1dec: Fix CODEC_FLAG_LOW_DELAY

Mean git at videolan.org
Wed Nov 2 20:50:44 CET 2011


ffmpeg | branch: master | Mean <fixounet at free.fr> | Wed Nov  2 19:35:22 2011 +0100| [d1590a0a2be7c07ee6d7d81803e895173e38227d] | committer: Michael Niedermayer

vc1dec: Fix CODEC_FLAG_LOW_DELAY

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d1590a0a2be7c07ee6d7d81803e895173e38227d
---

 libavcodec/vc1dec.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index 8384771..64f187c 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -5457,6 +5457,9 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
         int mby_start;
     } *slices = NULL;
 
+    if(s->flags & CODEC_FLAG_LOW_DELAY)
+        s->low_delay = 1;
+
     /* no supplementary picture */
     if (buf_size == 0 || (buf_size == 4 && AV_RB32(buf) == VC1_CODE_ENDOFSEQ)) {
         /* special case for last picture */



More information about the ffmpeg-cvslog mailing list