aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-08-24 15:29:48 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-08-24 15:29:48 +0000
commit02d504a7d3f0546374cc02ecff45390a0d4faa6b (patch)
tree2828dfbc4e4779424e5d105b981fdc23a707375e /ffserver.c
parent18bff7520e2fb844411b1d206d519ed695f63d2d (diff)
downloadffmpeg-02d504a7d3f0546374cc02ecff45390a0d4faa6b.tar.gz
more sections in help - copyright fixes
Originally committed as revision 2143 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c22
1 files changed, 13 insertions, 9 deletions
diff --git a/ffserver.c b/ffserver.c
index 04b3bfc627..b344438120 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -4477,23 +4477,27 @@ static void write_packet(FFCodec *ffenc,
}
#endif
-static void help(void)
+static void show_banner(void)
{
- printf("ffserver version " FFMPEG_VERSION ", Copyright (c) 2000, 2001, 2002 Fabrice Bellard\n"
- "usage: ffserver [-L] [-h] [-f configfile]\n"
+ printf("ffserver version " FFMPEG_VERSION ", Copyright (c) 2000-2003 Fabrice Bellard\n");
+}
+
+static void show_help(void)
+{
+ show_banner();
+ printf("usage: ffserver [-L] [-h] [-f configfile]\n"
"Hyper fast multi format Audio/Video streaming server\n"
"\n"
- "-L : print the LICENCE\n"
+ "-L : print the LICENSE\n"
"-h : this help\n"
"-f configfile : use configfile instead of /etc/ffserver.conf\n"
);
}
-static void licence(void)
+static void show_license(void)
{
+ show_banner();
printf(
- "ffserver version " FFMPEG_VERSION "\n"
- "Copyright (c) 2000, 2001, 2002 Fabrice Bellard\n"
"This library is free software; you can redistribute it and/or\n"
"modify it under the terms of the GNU Lesser General Public\n"
"License as published by the Free Software Foundation; either\n"
@@ -4556,11 +4560,11 @@ int main(int argc, char **argv)
break;
switch(c) {
case 'L':
- licence();
+ show_license();
exit(1);
case '?':
case 'h':
- help();
+ show_help();
exit(1);
case 'n':
no_launch = 1;