[FFmpeg-devel] Cleanup libswscale and reimplement GPL code under LGPL

Diego Biurrun diego
Mon Apr 7 23:28:49 CEST 2008


On Mon, Apr 07, 2008 at 11:44:26AM +0000, Ramiro Polla wrote:
> 
> I've looked at the license headers and a few svn annotates from GPL
> files. What parts of the code is left in GPL?

cs_test.c
swscale_example.c

Michael, would you relicense these test programs of yours?  Nobody else
seems to have made copyrightable changes to these files.

swscale.c
swscale_template.c
rgb2rgb.c
rgb2rgb_template.c

These files are GPL, but carry the following exception:

 * the C code (not assembly, mmx, ...) of this file can be used
 * under the LGPL license too

The cleanest solution would likely be to split these files into ASM and
C parts.  Then the ASM parts can be compiled conditional to CONFIG_GPL.

swscale_template_altivec.c
yuv2rgb.c
yuv2rgb_altivec.c
yuv2rgb_template.c

These files are GPL without exception.  yuv2rgb_altivec.c was written by
Marc Hoffman, he also contributed some code under LGPL, I'm pretty
confident we could get him to relicense.

Diego




More information about the ffmpeg-devel mailing list