[FFmpeg-cvslog] Fix compilation failure with runtime cpudetect (Ticket #22)

Michael Niedermayer git at videolan.org
Mon Mar 28 17:47:01 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Mar 28 16:46:45 2011 +0200| [95c8bb03edf5d5c7310947819c4c8691a5e3dfb0] | committer: Michael Niedermayer

Fix compilation failure with runtime cpudetect (Ticket #22)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=95c8bb03edf5d5c7310947819c4c8691a5e3dfb0
---

 libswscale/swscale.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 68a8ea3..b4107ac 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



More information about the ffmpeg-cvslog mailing list