summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-11-27 22:54:18 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-11-27 22:54:18 +0000
commit51ac88228a51ff8b2b9fec3540f86020b300d56c (patch)
tree5006c03cd2929af91a16eaae6fecabe396de0dd5 /libavcodec
parent5b67ce2afa1a692af0fc431641bbbbb04da19bca (diff)
convert some #ifdef CONFIG_ to if(ENABLE_
Originally committed as revision 11103 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/i386/dsputil_mmx.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index 2c8173b948..2db777822c 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -3635,14 +3635,11 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
c->biweight_h264_pixels_tab[6]= ff_h264_biweight_4x4_mmx2;
c->biweight_h264_pixels_tab[7]= ff_h264_biweight_4x2_mmx2;
-#ifdef CONFIG_CAVS_DECODER
+ if (ENABLE_CAVS_DECODER)
ff_cavsdsp_init_mmx2(c, avctx);
-#endif
-#if defined(CONFIG_VC1_DECODER) || defined(CONFIG_WMV3_DECODER) \
- || defined(CONFIG_VC1_ENCODER) || defined(CONFIG_WMV3_ENCODER)
+ if (ENABLE_VC1_DECODER || ENABLE_WMV3_DECODER)
ff_vc1dsp_init_mmx(c, avctx);
-#endif
#ifdef CONFIG_ENCODERS
c->sub_hfyu_median_prediction= sub_hfyu_median_prediction_mmx2;