From d1590a0a2be7c07ee6d7d81803e895173e38227d Mon Sep 17 00:00:00 2001 From: Mean <fixounet@free.fr> Date: Wed, 2 Nov 2011 19:35:22 +0100 Subject: [PATCH] vc1dec: Fix CODEC_FLAG_LOW_DELAY Signed-off-by: Michael Niedermayer <michaelni@gmx.at> --- libavcodec/vc1dec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 8384771ad94..64f187cd948 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 */ -- GitLab