summaryrefslogtreecommitdiff
path: root/libswscale/yuv2rgb.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-07-05 20:10:59 +0000
committerDiego Biurrun <diego@biurrun.de>2009-07-05 20:10:59 +0000
commit29ce0433743c8cb0bfa4b0e174437212d31730fb (patch)
tree05de83f0db03ccc8b8f16771b0dd7da7e228eb64 /libswscale/yuv2rgb.c
parente13cca4b148fed8a9484d36898621ed68892707a (diff)
downloadffmpeg-29ce0433743c8cb0bfa4b0e174437212d31730fb.tar.gz
The AltiVec code in libswscale no longer is under GPL.
Remove one erroneous preprocessor check for CONFIG_GPL in the AltiVec code. Originally committed as revision 29412 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r--libswscale/yuv2rgb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 753bd486fc..96649296ff 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -511,7 +511,7 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c)
#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