diff libswscale/yuv2rgb.c @ 30919:b1d63f9600c0

HAVE_MMX2 implies HAVE_MMX, so checking the latter is enough.
author diego
date Fri, 26 Mar 2010 07:57:54 +0000
parents 87acb5d9e4aa
children 6502a6b24f9b
line wrap: on
line diff
--- a/libswscale/yuv2rgb.c	Thu Mar 25 19:53:05 2010 +0000
+++ b/libswscale/yuv2rgb.c	Fri Mar 26 07:57:54 2010 +0000
@@ -543,7 +543,7 @@
 SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c)
 {
     SwsFunc t = NULL;
-#if (HAVE_MMX2 || HAVE_MMX) && CONFIG_GPL
+#if HAVE_MMX && CONFIG_GPL
      t = ff_yuv2rgb_init_mmx(c);
 #endif
 #if HAVE_VIS