aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2014-06-14 14:55:49 -0400
committerMichael Niedermayer <michaelni@gmx.at>2014-06-15 13:34:53 +0200
commit083cd3d1f7715ee3a63305b472cf3824ed481715 (patch)
tree151dd2c01c7e77121b4b9a336910e3297fc3842d /libswresample
parent91076128185e96725af18e1b532c6060e7f0c150 (diff)
downloadffmpeg-083cd3d1f7715ee3a63305b472cf3824ed481715.tar.gz
swr: compile mmx2 s16p functions only on x86-32.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample')
-rw-r--r--libswresample/x86/resample_x86_dsp.c2
1 files changed, 2 insertions, 0 deletions
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