aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-03-28 16:46:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-03-28 16:46:45 +0200
commit95c8bb03edf5d5c7310947819c4c8691a5e3dfb0 (patch)
tree75125a9fd16c0eab89c49ef96abf9978567f1e25
parent25d8099beb4c7eb93539f9162af1336ef7130fed (diff)
downloadffmpeg-95c8bb03edf5d5c7310947819c4c8691a5e3dfb0.tar.gz
Fix compilation failure with runtime cpudetect (Ticket #22)
-rw-r--r--libswscale/swscale.c6
1 files 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