swr/resample: fix SSSE3 included unconditionally.
authorClément Bœsch <ubitux@gmail.com>
Thu, 15 Nov 2012 22:52:42 +0000 (23:52 +0100)
committerClément Bœsch <ubitux@gmail.com>
Thu, 15 Nov 2012 22:52:44 +0000 (23:52 +0100)
10l Regression since 8ea88339.

libswresample/resample.c

index 1b1bd5f..2096e43 100644 (file)
@@ -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