[FFmpeg-devel] [PATCH] show-banner and show-license as cmdutils.c functions

Stefano Sabatini stefano.sabatini-lala
Mon Jul 16 13:46:50 CEST 2007

Hi all,

this patch implements the various show-banner and show-license
functions in ffmpeg.c, ffserver.c and ffplay.c as calls to
corresponding cmdutils.c:show_ffmpeg_license() and
cmdutils.c:show_ffmpeg_banner() functions.

Reduce code duplication in the command line utils programs.

Note that it also changes the exit code of ffserver -L and ffmpeg -L
from 1 to 0, which seems to me the correct behaviour.

Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: show-banner-and-license-as-cmdutils-functions-00.patch
Type: text/x-diff
Size: 10847 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070716/02e5cf0c/attachment.patch>

More information about the ffmpeg-devel mailing list