[FFmpeg-cvslog] wmv2enc: drop setting of idct_algo

Michael Niedermayer git at videolan.org
Thu Jan 24 14:18:03 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jan 24 14:06:48 2013 +0100| [1d2abca7e1f09ccd2f14b4d452aab584362fad33] | committer: Michael Niedermayer

wmv2enc: drop setting of idct_algo

This should have become redundant

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1d2abca7e1f09ccd2f14b4d452aab584362fad33
---

 libavcodec/wmv2enc.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavcodec/wmv2enc.c b/libavcodec/wmv2enc.c
index 7ec32c6..851d715 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;
 



More information about the ffmpeg-cvslog mailing list