From 95c8bb03edf5d5c7310947819c4c8691a5e3dfb0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 28 Mar 2011 16:46:45 +0200 Subject: [PATCH] Fix compilation failure with runtime cpudetect (Ticket #22) --- libswscale/swscale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 68a8ea31f1..b4107ac873 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1209,9 +1209,9 @@ static inline void monoblack2Y(uint8_t *dst, const uint8_t *src, long width, uin #if CONFIG_RUNTIME_CPUDETECT # define COMPILE_C 1 # if ARCH_X86 -# define COMPILE_MMX HAVE_MMX -# define COMPILE_MMX2 HAVE_MMX2 -# define COMPILE_3DNOW HAVE_AMD3DNOW +# define COMPILE_MMX 1 +# define COMPILE_MMX2 1 +# define COMPILE_3DNOW 1 # elif ARCH_PPC # define COMPILE_ALTIVEC HAVE_ALTIVEC # endif