HAVE_MMX2 implies HAVE_MMX, so checking the latter is enough.

Originally committed as revision 30961 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
release/0.6
Diego Biurrun 15 years ago
parent 767738f7a3
commit f25b1c4b6b
  1. 2
      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

Loading…
Cancel
Save