From 083cd3d1f7715ee3a63305b472cf3824ed481715 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 14 Jun 2014 14:55:49 -0400 Subject: swr: compile mmx2 s16p functions only on x86-32. Signed-off-by: Michael Niedermayer --- libswresample/x86/resample_x86_dsp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libswresample') diff --git a/libswresample/x86/resample_x86_dsp.c b/libswresample/x86/resample_x86_dsp.c index e03713816b..63493af0de 100644 --- a/libswresample/x86/resample_x86_dsp.c +++ b/libswresample/x86/resample_x86_dsp.c @@ -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 -- cgit v1.2.3