# HG changeset patch # User diego # Date 1246824659 0 # Node ID 059ff1f4e280946c1b6fe6596bd06f7e2e2841a4 # Parent b95c20d423b377adcde95a1dc9262e6d6ba3d147 The AltiVec code in libswscale no longer is under GPL. Remove one erroneous preprocessor check for CONFIG_GPL in the AltiVec code. diff -r b95c20d423b3 -r 059ff1f4e280 libswscale/yuv2rgb.c --- a/libswscale/yuv2rgb.c Sat Jul 04 13:26:51 2009 +0000 +++ b/libswscale/yuv2rgb.c Sun Jul 05 20:10:59 2009 +0000 @@ -511,7 +511,7 @@ #if CONFIG_MLIB t = ff_yuv2rgb_init_mlib(c); #endif -#if HAVE_ALTIVEC && CONFIG_GPL +#if HAVE_ALTIVEC if (c->flags & SWS_CPU_CAPS_ALTIVEC) t = ff_yuv2rgb_init_altivec(c); #endif