diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 611b845390..ebd14cb1cb 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -2994,11 +2994,9 @@ static av_cold int vc1_decode_init(AVCodecContext *avctx) avctx->idct_algo=FF_IDCT_WMV2; } - if(ff_h263_decode_init(avctx) < 0) + if(ff_msmpeg4_decode_init(avctx) < 0) return -1; if (vc1_init_common(v) < 0) return -1; - // only for ff_msmp4_mb_i_table - if (ff_msmpeg4_decode_init(avctx) < 0) return -1; avctx->coded_width = avctx->width; avctx->coded_height = avctx->height;