Commit d1590a0a authored by Mean's avatar Mean Committed by Michael Niedermayer

vc1dec: Fix CODEC_FLAG_LOW_DELAY

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f51e5015
...@@ -5457,6 +5457,9 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data, ...@@ -5457,6 +5457,9 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
int mby_start; int mby_start;
} *slices = NULL; } *slices = NULL;
if(s->flags & CODEC_FLAG_LOW_DELAY)
s->low_delay = 1;
/* no supplementary picture */ /* no supplementary picture */
if (buf_size == 0 || (buf_size == 4 && AV_RB32(buf) == VC1_CODE_ENDOFSEQ)) { if (buf_size == 0 || (buf_size == 4 && AV_RB32(buf) == VC1_CODE_ENDOFSEQ)) {
/* special case for last picture */ /* special case for last picture */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment