Browse Source

vc1dec: Fix CODEC_FLAG_LOW_DELAY

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Mean Michael Niedermayer 13 years ago
parent
commit
d1590a0a2b
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/vc1dec.c

+ 3
- 0
libavcodec/vc1dec.c View File

@@ -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 */


Loading…
Cancel
Save