From 1d2abca7e1f09ccd2f14b4d452aab584362fad33 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 24 Jan 2013 14:06:48 +0100 Subject: [PATCH] wmv2enc: drop setting of idct_algo This should have become redundant Signed-off-by: Michael Niedermayer --- libavcodec/wmv2enc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavcodec/wmv2enc.c b/libavcodec/wmv2enc.c index 7ec32c60b5..851d715e39 100644 --- a/libavcodec/wmv2enc.c +++ b/libavcodec/wmv2enc.c @@ -55,10 +55,6 @@ static int encode_ext_header(Wmv2Context *w){ static av_cold int wmv2_encode_init(AVCodecContext *avctx){ Wmv2Context * const w= avctx->priv_data; - if(avctx->idct_algo==FF_IDCT_AUTO){ - avctx->idct_algo=FF_IDCT_WMV2; - } - if(ff_MPV_encode_init(avctx) < 0) return -1;