[FFmpeg-devel] [PATCH] Implement the cmdutils.c:show_license function

Stefano Sabatini stefano.sabatini-lala
Tue Aug 14 17:53:56 CEST 2007


Hi all,

this implements a function named cmdutils.c:show_license which prints
exactly the same output of ffmpeg.c:opt_show_license.

It should be used to print a consistent license message in all the ff*
tools (for example actually ffserver shows always the LGPL message,
even in case of compilation with --enable-gpl).

The function implemented accepts as argument the stream destination of
the output, if you prefer I can eventually eliminate this "feature"
since actually doesn't seem that there is another meaningful place
where to print the license but stdout.

Suggested log: $subject.

Cheers.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: implement-cdmutils-show-license-function-00.patch
Type: text/x-diff
Size: 2351 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070814/aece1096/attachment.patch>



More information about the ffmpeg-devel mailing list