Browse Source

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

Fixes ticket #8986.
tags/n4.4
Carl Eugen Hoyos 5 years ago
parent
commit
46e362b765
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      libswscale/x86/yuv2rgb.c

+ 0
- 4
libswscale/x86/yuv2rgb.c View File

@@ -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 */



Loading…
Cancel
Save