swr: compile mmx2 s16p functions only on x86-32.
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 14 Jun 2014 18:55:49 +0000 (14:55 -0400)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Jun 2014 11:34:53 +0000 (13:34 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/x86/resample_x86_dsp.c

index e037138..63493af 100644 (file)
@@ -44,9 +44,11 @@ int swri_resample_linear_double_sse2(ResampleContext *c,  double *dst, const  do
 
 #include "resample_mmx.h"
 
+#if ARCH_X86_32
 #define TEMPLATE_RESAMPLE_S16_MMX2
 #include "libswresample/resample_template.c"
 #undef TEMPLATE_RESAMPLE_S16_MMX2
+#endif
 
 #if HAVE_SSE_INLINE
 #define TEMPLATE_RESAMPLE_FLT_SSE