From: Michael Niedermayer <[email protected]>
---
libavcodec/vc1dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index 9825924..ccba35b 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -5941,6 +5941,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, "Skipping B frame without reference
frames\n");
goto end;
}
if ((avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type ==
AV_PICTURE_TYPE_B) ||
--
2.0.0.rc0
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel