aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAllen Day <allenday@ucla.edu>2004-04-11 13:54:40 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-11 13:54:40 +0000
commitd223532c232d741156d60cf018e48ac770e0c965 (patch)
treebd46df6320371ff9fb09d9def0336fc74a392eaf /ffmpeg.c
parentd8019eb5d8f9698e34cab5167c7978f5cf2b4249 (diff)
downloadffmpeg-d223532c232d741156d60cf018e48ac770e0c965.tar.gz
printf macro patch by (Allen Day <allenday at ucla dot edu>)
Originally committed as revision 2998 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 5f4b0e5e51..a2dfdf9431 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3517,8 +3517,8 @@ static void show_banner(void)
static void show_license(void)
{
show_banner();
- printf(
#ifdef CONFIG_GPL
+ printf(
"This program is free software; you can redistribute it and/or modify\n"
"it under the terms of the GNU General Public License as published by\n"
"the Free Software Foundation; either version 2 of the License, or\n"
@@ -3532,7 +3532,9 @@ static void show_license(void)
"You should have received a copy of the GNU General Public License\n"
"along with this program; if not, write to the Free Software\n"
"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n"
+ );
#else
+ printf(
"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"
@@ -3546,8 +3548,8 @@ static void show_license(void)
"You should have received a copy of the GNU Lesser General Public\n"
"License along with this library; if not, write to the Free Software\n"
"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n"
-#endif
);
+#endif
exit(1);
}