Move SSE optimized 32-point DCT to its own file. Should fix breakage with YASM
[libav.git] / libavcodec / x86 / fft.c
index 6f641b6..eb5c65e 100644 (file)
@@ -43,10 +43,12 @@ av_cold void ff_fft_init_mmx(FFTContext *s)
 #endif
 }
 
+#if CONFIG_DCT
 av_cold void ff_dct_init_mmx(DCTContext *s)
 {
     int has_vectors = mm_support();
     if (has_vectors & FF_MM_SSE && HAVE_SSE)
         s->dct32 = ff_dct32_float_sse;
 }
+#endif