[FFmpeg-devel] [PATCH 1/2] avcodec/nvenc: Include NVENC SDK header

Nicolas George george at nsup.org
Thu Dec 10 20:37:59 CET 2015


Le decadi 20 frimaire, an CCXXIV, Andreas Cadhalpun a écrit :
> Using the header, one could create a dummy libfoo.so containing only
> stub functions.

Exactly.

> I don't think the FSF would agree [1].

They do not make the law. Claiming that the GPL enforces more than it can is
obviously their game.

> The GPL does not require that programs can run, only that distributors
> provide the source code of everything that is needed to run the program,
> except system libraries.
> 
> So you can distribute e.g. a GPL binary linking with libfoo.so, without
> distributing libfoo.so, as long as you distribute the source code
> of libfoo.so.
> However, claiming that libfoo.so is not required to run the binary
> would be bizarre.

Once again, exactly. I agree that having the program not work at all would
probably not be sustainable. But for an optional feature (a codec, for
example), having a GPL-compatible stub libfoo.so that just prints "feature
not available" is perfectly legal. And then, you just have to propose the
customers to download, on their own responsibility, a proprietary libfoo.so.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151210/23d5823c/attachment.sig>


More information about the ffmpeg-devel mailing list