From f25b1c4b6b32bbf29e450ce59c8d65172e4e1bb8 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 26 Mar 2010 07:57:54 +0000 Subject: [PATCH] HAVE_MMX2 implies HAVE_MMX, so checking the latter is enough. Originally committed as revision 30961 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/yuv2rgb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 6883f774e2..60764aeba1 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -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