Browse Source

avcodec/vc1dec: print debug message if a b frame without reference is skiped

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

+ 1
- 0
libavcodec/vc1dec.c View File

@@ -5997,6 +5997,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,

/* skip B-frames if we don't have reference frames */
if (s->last_picture_ptr == NULL && (s->pict_type == AV_PICTURE_TYPE_B || s->droppable)) {
av_log(v->s.avctx, AV_LOG_DEBUG, "Skiping B frame without reference frames\n");
goto end;
}
if ((avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type == AV_PICTURE_TYPE_B) ||


Loading…
Cancel
Save