[SCM] libav/experimental: The AltiVec code in libswscale no longer is under GPL. Remove one erroneous preprocessor check for CONFIG_GPL in the AltiVec code.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:48:37 UTC 2013


The following commit has been merged in the experimental branch:
commit 29ce0433743c8cb0bfa4b0e174437212d31730fb
Author: Diego Biurrun <diego at biurrun.de>
Date:   Sun Jul 5 20:10:59 2009 +0000

    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

diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 753bd48..9664929 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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list