From 6ea7e6516a4360f0820ced58690b857278520167 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 2 Apr 2008 11:47:00 +0000 Subject: [PATCH] Do not use the mlib IDCT by default. We do not want videos which are only 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mlib/dsputil_mlib.c b/libavcodec/mlib/dsputil_mlib.c index 203a8da537..233d6070a7 100644 --- a/libavcodec/mlib/dsputil_mlib.c +++ b/libavcodec/mlib/dsputil_mlib.c @@ -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;