changeset 5949:d7ad613197d2 libavcodec

convert some #ifdef CONFIG_ to if(ENABLE_
author aurel
date Tue, 27 Nov 2007 22:54:18 +0000
parents db875a610973
children e419e6d4e7eb
files i386/dsputil_mmx.c
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Tue Nov 27 22:42:55 2007 +0000
+++ b/i386/dsputil_mmx.c	Tue Nov 27 22:54:18 2007 +0000
@@ -3635,14 +3635,11 @@
             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;