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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Ronald S. Bultje 2014-06-14 14:55:49 -04:00 committed by Michael Niedermayer
parent 9107612818
commit 083cd3d1f7
1 changed files with 2 additions and 0 deletions

View 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