]> git.sesse.net Git - vlc/commitdiff
Revert "avcodec: set libmpeg2mmx idct in use if we encode to mp2v"
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 18 Sep 2012 16:02:36 +0000 (19:02 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Sat, 6 Oct 2012 11:09:08 +0000 (14:09 +0300)
This reverts commit 2c055dc81ce1830fb988806a6026aca3650e9ba1.

modules/codec/avcodec/encoder.c

index a96705065de1c7fbccc67e99adbf88e983851df8..09a456e16a156b72f1be648ffa69d9407590f6f1 100644 (file)
@@ -457,9 +457,6 @@ int OpenEncoder( vlc_object_t *p_this )
                p_enc->fmt_out.i_codec == VLC_CODEC_MP2V ) )
             p_context->flags |= CODEC_FLAG_LOW_DELAY;
 
-        if( p_enc->fmt_out.i_codec == VLC_CODEC_MP2V )
-            p_context->idct_algo = FF_IDCT_LIBMPEG2MMX;
-
         av_reduce( &p_context->sample_aspect_ratio.num,
                    &p_context->sample_aspect_ratio.den,
                    p_enc->fmt_in.video.i_sar_num,