[FFmpeg-cvslog] swr/resample: fix SSSE3 included unconditionally.

Clément Bœsch git at videolan.org
Thu Nov 15 23:53:36 CET 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Thu Nov 15 23:52:42 2012 +0100| [8f42b09604a6751eb3d3c225b8270b708a8338f4] | committer: Clément Bœsch

swr/resample: fix SSSE3 included unconditionally.

10l Regression since 8ea88339.

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

 libswresample/resample.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libswresample/resample.c b/libswresample/resample.c
index 1b1bd5f..2096e43 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
 



More information about the ffmpeg-cvslog mailing list