[FFmpeg-cvslog] lsws/x86/yuv2rgb: Fix compilation with mmxext or ssse3 disabled.
Carl Eugen Hoyos
git at videolan.org
Sat Nov 14 16:39:22 EET 2020
ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Sat Nov 14 15:37:57 2020 +0100| [46e362b76551d6587747e6a41e97b1673df2ada9] | committer: Carl Eugen Hoyos
lsws/x86/yuv2rgb: Fix compilation with mmxext or ssse3 disabled.
Fixes ticket #8986.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=46e362b76551d6587747e6a41e97b1673df2ada9
---
libswscale/x86/yuv2rgb.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libswscale/x86/yuv2rgb.c b/libswscale/x86/yuv2rgb.c
index c12e88cbb5..2143026a0d 100644
--- a/libswscale/x86/yuv2rgb.c
+++ b/libswscale/x86/yuv2rgb.c
@@ -59,22 +59,18 @@ DECLARE_ASM_CONST(8, uint64_t, pb_07) = 0x0707070707070707ULL;
#endif /* HAVE_MMX */
// MMXEXT versions
-#if HAVE_MMXEXT
#undef RENAME
#undef COMPILE_TEMPLATE_MMXEXT
#define COMPILE_TEMPLATE_MMXEXT 1
#define RENAME(a) a ## _mmxext
#include "yuv2rgb_template.c"
-#endif /* HAVE_MMXEXT */
//SSSE3 versions
-#if HAVE_SSSE3
#undef RENAME
#undef COMPILE_TEMPLATE_MMXEXT
#define COMPILE_TEMPLATE_MMXEXT 0
#define RENAME(a) a ## _ssse3
#include "yuv2rgb_template.c"
-#endif
#endif /* HAVE_X86ASM */
More information about the ffmpeg-cvslog
mailing list