]> git.sesse.net Git - ffmpeg/commitdiff
Move FFT-specific MMX optimizations out of the 'ifdef HAVE_MMX' block.
authorDiego Biurrun <diego@biurrun.de>
Thu, 20 Nov 2008 22:50:13 +0000 (22:50 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 20 Nov 2008 22:50:13 +0000 (22:50 +0000)
The MMX dependency is already handled by configure.

Originally committed as revision 15895 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile

index 1c5999f37b5000f45f964c3b6f518b6fd0c6feca..1ee8425e47f8195f0df76e31a50c0914a9e35054 100644 (file)
@@ -399,14 +399,14 @@ OBJS-$(HAVE_MMX)                       += i386/cpuid.o                  \
                                           i386/mpegvideo_mmx.o          \
                                           i386/simple_idct_mmx.o        \
 
-ifdef HAVE_MMX
-OBJS-$(CONFIG_CAVS_DECODER)            += i386/cavsdsp_mmx.o
-OBJS-$(CONFIG_ENCODERS)                += i386/dsputilenc_mmx.o
 OBJS-$(CONFIG_FFT_MMX)                 += i386/fft_3dn.o                \
                                           i386/fft_3dn2.o               \
                                           i386/fft_mmx.o                \
                                           i386/fft_sse.o                \
 
+ifdef HAVE_MMX
+OBJS-$(CONFIG_CAVS_DECODER)            += i386/cavsdsp_mmx.o
+OBJS-$(CONFIG_ENCODERS)                += i386/dsputilenc_mmx.o
 OBJS-$(CONFIG_FLAC_ENCODER)            += i386/flacdsp_mmx.o
 OBJS-$(CONFIG_GPL)                     += i386/idct_mmx.o
 OBJS-$(CONFIG_SNOW_DECODER)            += i386/snowdsp_mmx.o