diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index e7cffc2978..4d14228679 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -1073,7 +1073,9 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data, ret = AVERROR_INVALIDDATA; goto err; } - if (!v->field_mode) + if ( !v->field_mode + && avctx->codec_id != AV_CODEC_ID_WMV3IMAGE + && avctx->codec_id != AV_CODEC_ID_VC1IMAGE) ff_er_frame_end(&s->er); }