Commit 15e4bd65 authored by Michael Niedermayer's avatar Michael Niedermayer

vc1dec: support debug & FF_DEBUG_PICT_INFO.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a036ac57
......@@ -5489,6 +5489,9 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
}
}
if (avctx->debug & FF_DEBUG_PICT_INFO)
av_log(v->s.avctx, AV_LOG_DEBUG, "pict_type: %c\n", av_get_picture_type_char(s->pict_type));
if ((avctx->codec_id == AV_CODEC_ID_WMV3IMAGE || avctx->codec_id == AV_CODEC_ID_VC1IMAGE)
&& s->pict_type != AV_PICTURE_TYPE_I) {
av_log(v->s.avctx, AV_LOG_ERROR, "Sprite decoder: expected I-frame\n");
......
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