diff fft.c @ 995:edc10966b081 libavcodec

altivec jumbo patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
author michaelni
date Sat, 11 Jan 2003 20:51:03 +0000
parents e05d525505c5
children 3b7cc8e4b83f
line wrap: on
line diff
--- a/fft.c	Sat Jan 11 20:34:38 2003 +0000
+++ b/fft.c	Sat Jan 11 20:51:03 2003 +0000
@@ -57,9 +57,9 @@
 
 #if defined(HAVE_MMX)
         has_vectors = mm_support() & MM_SSE;
-#else
-        /* XXX: should also use mm_support() ? */
-        has_vectors = has_altivec() & MM_ALTIVEC;
+#endif
+#if defined(HAVE_ALTIVEC)
+        has_vectors = mm_support() & MM_ALTIVEC;
 #endif
         if (has_vectors) {
             int np, nblocks, np2, l;