HAVE_MMX2 implies HAVE_MMX, so checking the latter is enough.
authorDiego Biurrun <diego@biurrun.de>
Fri, 26 Mar 2010 07:57:54 +0000 (07:57 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 26 Mar 2010 07:57:54 +0000 (07:57 +0000)
Originally committed as revision 30961 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/yuv2rgb.c

index 6883f77..60764ae 100644 (file)
@@ -543,7 +543,7 @@ CLOSEYUV2RGBFUNC(1)
 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