[FFmpeg-devel] [PATCH] swr: compile mmx2 s16p functions only on x86-32.

Ronald S. Bultje rsbultje at gmail.com
Sat Jun 14 20:55:49 CEST 2014


---
 libswresample/x86/resample_x86_dsp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libswresample/x86/resample_x86_dsp.c b/libswresample/x86/resample_x86_dsp.c
index 02a7db5..c9b2bef 100644
--- a/libswresample/x86/resample_x86_dsp.c
+++ b/libswresample/x86/resample_x86_dsp.c
@@ -33,9 +33,11 @@
 
 #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
-- 
1.8.5.5



More information about the ffmpeg-devel mailing list