aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2010-03-26 07:57:54 +0000
committerDiego Biurrun <diego@biurrun.de>2010-03-26 07:57:54 +0000
commitf25b1c4b6b32bbf29e450ce59c8d65172e4e1bb8 (patch)
treecaaeff59ebdfc214e966432a5752b1db63fd7c3c
parent767738f7a31d0cc1d27a61d45ce9628e92d2bd6d (diff)
downloadffmpeg-f25b1c4b6b32bbf29e450ce59c8d65172e4e1bb8.tar.gz
HAVE_MMX2 implies HAVE_MMX, so checking the latter is enough.
Originally committed as revision 30961 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r--libswscale/yuv2rgb.c2
1 files changed, 1 insertions, 1 deletions
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