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

Ronald S. Bultje git at videolan.org
Sun Jun 15 14:17:44 CEST 2014


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sat Jun 14 14:55:49 2014 -0400| [083cd3d1f7715ee3a63305b472cf3824ed481715] | committer: Michael Niedermayer

swr: compile mmx2 s16p functions only on x86-32.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=083cd3d1f7715ee3a63305b472cf3824ed481715
---

 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 e037138..63493af 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



More information about the ffmpeg-cvslog mailing list