wmv2enc: drop setting of idct_algo
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Jan 2013 13:06:48 +0000 (14:06 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Jan 2013 13:15:55 +0000 (14:15 +0100)
This should have become redundant

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/wmv2enc.c

index 7ec32c6..851d715 100644 (file)
@@ -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;