aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/i386
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-05-07 23:32:45 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-05-07 23:32:45 +0000
commit5fd74135ad09891df45927d7a5785e3d4afb4e78 (patch)
tree6f93acef3841180ff3ef710ce08b9bfc55f6139b /libavcodec/i386
parent631670888d4ff9ca08c9d0804082511a1bc587a5 (diff)
downloadffmpeg-5fd74135ad09891df45927d7a5785e3d4afb4e78.tar.gz
more #ifdef CONFIG_ENCODERS by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 1843 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r--libavcodec/i386/dsputil_mmx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index 74836387a6..d58ebcc4ef 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -1559,8 +1559,10 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
const int dct_algo = avctx->dct_algo;
const int idct_algo= avctx->idct_algo;
+#ifdef CONFIG_ENCODERS
if(dct_algo==FF_DCT_AUTO || dct_algo==FF_DCT_MMX)
c->fdct = ff_fdct_mmx;
+#endif //CONFIG_ENCODERS
if(idct_algo==FF_IDCT_AUTO || idct_algo==FF_IDCT_SIMPLEMMX){
c->idct_put= ff_simple_idct_put_mmx;