V0id wrote:
У вт, 2009-07-28 у 12:10 +0200, Dr. Stefan Rapp пише:
V0id wrote:
У вт, 2009-07-28 у 07:30 +0000, Robert Fraser пише:
Just do --disable-gpl
Sent via BlackBerry from T-Mobile
-----Original Message-----
From: Jacobson981 <[email protected]>
Date: Tue, 28 Jul 2009 09:31:11
To: Libav* user questions and discussions<[email protected]>
Subject: [libav-user] license usage
i've compiled and staticly linked ffmpeg with "--disable-mmx
--disable-mmx2 --disable-ssse3" (no libswscale...) can i use it in my
non-free app without releasing codes of my own application?
Also, you can link only shared version of LGPL'ed library to
non-opensource application. There is no need to turn off optimizations
manually configure will do it for you. And at the end of configuration
you'll see the license of library that you will get after compilation.
You can use libswscale from svn if you need it - it is under LGPL
there (except some optimizations).
In my recent svn checkout, although configure says it is LGPL, and
LICENSE stating (only) '- some x86 optimizations in libswscale' are GPL,
function sws_scale is defined in the file libswscale/swscale.c which
explicitly refers to GPL (not LGPL) in the file header. Only swscale.h
is LGPL. So, irrespective of optimizations included or not, a function
call to sws_scale should require an application GPLed.
In consequence, in my view as soon as you do a call to libswscale such
as sws_scale(...), you need GPL for your program, irrespective of
whether you take the code from svn or somewhere else. (And on what basis
can a once GPLed file be transfered to LGPL later anyhow?) Or am I
missing something?
Maybe you should try to read licence more careful? All this legal staff
is so tricky and you should always read ALL the license or ALL the contract
to have at least general idea about it terms.
The licence in the header of swscale.c that you are explicitly pointing at
says:
" * the C code (not assembly, mmx, ...) of this file can be used
* under the LGPL license too"
The configure script should disable all the GPL'ed optimizations automatically.
Best regards.
Thanks for sorting it out for me, I actually stopped reading too early
... :-)
Stefan
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user