[FFmpeg-devel] [PATCH] configure: accept commercially-licensed libx264

Reimar Döffinger Reimar.Doeffinger
Tue Dec 7 21:11:19 CET 2010


On Tue, Dec 07, 2010 at 11:24:44AM -0200, Ramiro Polla wrote:
> Hi,
> 
> libx264 can be built with --disable-gpl, to be used with a commercial
> license, which will export X264_GPL as 0 in their config file.
> Attached patch makes configure accept that.

I think
X264_GPL == 0
is true even if X264_GPL is undefined.
If I am right about that I'd be in favour of e.g.
defined(X264_GPL) && !X264_GPL
instead.



More information about the ffmpeg-devel mailing list