changeset 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 be200e917ae1
children 570e001f2e53
files libswscale/yuv2rgb.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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