diff x86/fft.c @ 12100:db9ef48dc0e4 libavcodec

Move SSE optimized 32-point DCT to its own file. Should fix breakage with YASM disabled.
author vitor
date Tue, 06 Jul 2010 17:48:23 +0000
parents 1bf322283429
children a5ddb39627fd
line wrap: on
line diff
--- a/x86/fft.c	Tue Jul 06 16:58:54 2010 +0000
+++ b/x86/fft.c	Tue Jul 06 17:48:23 2010 +0000
@@ -43,10 +43,12 @@
 #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