From e6bc38fd49c94726b45d5d5cc2b756ad8ec49ee0 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 20 Jan 2013 22:12:35 -0800 Subject: wmv2: move IDCT to its own DSP context. This allows us to remove FF_IDCT_WMV2, which serves no practical purpose other than to be able to select the WMV2 IDCT for MPEG (or vice versa) and get corrupt output. Fate tests for all wmv2-related tests change, because (for some obscure reason) they forced use of the MPEG IDCT. You would get the same changes previously by not using -idct simple in the fate test (or replacing it with -idct auto). --- libavcodec/wmv2dec.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libavcodec/wmv2dec.c') diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c index c1fd4ee0a3..077928357e 100644 --- a/libavcodec/wmv2dec.c +++ b/libavcodec/wmv2dec.c @@ -447,10 +447,6 @@ int ff_wmv2_decode_mb(MpegEncContext *s, DCTELEM block[6][64]) static av_cold int wmv2_decode_init(AVCodecContext *avctx){ Wmv2Context * const w= avctx->priv_data; - if(avctx->idct_algo==FF_IDCT_AUTO){ - avctx->idct_algo=FF_IDCT_WMV2; - } - if(ff_msmpeg4_decode_init(avctx) < 0) return -1; -- cgit v1.2.3