History

lsws/x86/yuv2rgb: Fix compilation with mmxext or ssse3 disabled.

Fixes ticket #8986.

Carl Eugen Hoyos committed 6 years ago

Commit 46e362b1 parent 5bb313e1 file · +0 −4Browse files

Unified · Split

libswscale/x86/yuv2rgb.c+0−4
@@ -59,22 +59,18 @@ DECLARE_ASM_CONST(8, uint64_t, pb_07) = 0x0707070707070707ULL; · 58 unmodified lines
5959 #endif /* HAVE_MMX */
6060
6161 // MMXEXT versions
62−#if HAVE_MMXEXT
6362 #undef RENAME
6463 #undef COMPILE_TEMPLATE_MMXEXT
6564 #define COMPILE_TEMPLATE_MMXEXT 1
6665 #define RENAME(a) a ## _mmxext
6766 #include "yuv2rgb_template.c"
68−#endif /* HAVE_MMXEXT */
6967
7068 //SSSE3 versions
71−#if HAVE_SSSE3
7269 #undef RENAME
7370 #undef COMPILE_TEMPLATE_MMXEXT
7471 #define COMPILE_TEMPLATE_MMXEXT 0
7572 #define RENAME(a) a ## _ssse3
7673 #include "yuv2rgb_template.c"
77−#endif
7874
7975 #endif /* HAVE_X86ASM */
8076

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t