summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libswresample/resample.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswresample/resample.c b/libswresample/resample.c
index 1b1bd5f22a..2096e43db6 100644
--- a/libswresample/resample.c
+++ b/libswresample/resample.c
@@ -314,9 +314,11 @@ int swr_set_compensation(struct SwrContext *s, int sample_delta, int compensatio
#include "resample_template.c"
#undef TEMPLATE_RESAMPLE_S16_MMX2
+#if HAVE_SSSE3_INLINE
#define TEMPLATE_RESAMPLE_S16_SSSE3
#include "resample_template.c"
#undef TEMPLATE_RESAMPLE_S16_SSSE3
+#endif
#endif // HAVE_MMXEXT_INLINE