Use MMX only under x86_32, there are compilation problems.
authorDiego Biurrun <diego@biurrun.de>
Tue, 7 Nov 2006 12:28:13 +0000 (12:28 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 7 Nov 2006 12:28:13 +0000 (12:28 +0000)
Originally committed as revision 6931 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/liba52/resample.c

index 922d109..3f06aba 100644 (file)
@@ -33,14 +33,14 @@ int (* a52_resample) (float * _f, int16_t * s16)=NULL;
 
 #include "resample_c.c"
 
-#ifdef ARCH_X86
+#ifdef ARCH_X86_32
 #include "resample_mmx.c"
 #endif
 
 void* a52_resample_init(uint32_t mm_accel,int flags,int chans){
 void* tmp;
 
-#ifdef ARCH_X86
+#ifdef ARCH_X86_32
     if(mm_accel&MM_ACCEL_X86_MMX){
        tmp=a52_resample_MMX(flags,chans);
        if(tmp){