aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/x86
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2020-11-14 15:37:57 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2020-11-14 15:37:57 +0100
commit46e362b76551d6587747e6a41e97b1673df2ada9 (patch)
treeb48ddfe7da99a90e0e9dafcc2e77a5ce409da891 /libswscale/x86
parent5bb313e72328021ed11d4c1032c8dfde13a50a30 (diff)
downloadffmpeg-46e362b76551d6587747e6a41e97b1673df2ada9.tar.gz
lsws/x86/yuv2rgb: Fix compilation with mmxext or ssse3 disabled.
Fixes ticket #8986.
Diffstat (limited to 'libswscale/x86')
-rw-r--r--libswscale/x86/yuv2rgb.c4
1 files changed, 0 insertions, 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 */