OSDN Git Service

Do not use the mlib IDCT by default. We do not want videos which are only
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 2 Apr 2008 11:47:00 +0000 (11:47 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 2 Apr 2008 11:47:00 +0000 (11:47 +0000)
decodable with the mlib IDCT. If anyone knows of other IDCTs which are not
binary identical to a widely available one, ensure that they are not used
by default. Such IDCTs should never have been default anyway, but possibly
something slipped through the reviews ...

Originally committed as revision 12666 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mlib/dsputil_mlib.c

index 203a8da..233d607 100644 (file)
@@ -455,7 +455,7 @@ void MPV_common_init_mlib(MpegEncContext *s)
         s->dsp.fdct = ff_fdct_mlib;
     }
 
-    if(s->avctx->idct_algo==FF_IDCT_AUTO || s->avctx->idct_algo==FF_IDCT_MLIB){
+    if(s->avctx->idct_algo==FF_IDCT_MLIB){
         s->dsp.idct_put= ff_idct_put_mlib;
         s->dsp.idct_add= ff_idct_add_mlib;
         s->dsp.idct    = ff_idct_mlib;