diff i386/dsputil_mmx.c @ 1232:e88d3b1fb2a1 libavcodec

more #ifdef CONFIG_ENCODERS by (Wolfgang Hesseler <qv at multimediaware dot com>)
author michaelni
date Wed, 07 May 2003 23:32:45 +0000
parents 4f0072371bb9
children 7d328fd9d8a5
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Wed May 07 19:01:45 2003 +0000
+++ b/i386/dsputil_mmx.c	Wed May 07 23:32:45 2003 +0000
@@ -1559,8 +1559,10 @@
         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;