mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-12 02:04:58 +00:00
printf macro patch by (Allen Day <allenday at ucla dot edu>)
Originally committed as revision 2998 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d8019eb5d8
commit
d223532c23
6
ffmpeg.c
6
ffmpeg.c
@ -3517,8 +3517,8 @@ static void show_banner(void)
|
|||||||
static void show_license(void)
|
static void show_license(void)
|
||||||
{
|
{
|
||||||
show_banner();
|
show_banner();
|
||||||
printf(
|
|
||||||
#ifdef CONFIG_GPL
|
#ifdef CONFIG_GPL
|
||||||
|
printf(
|
||||||
"This program is free software; you can redistribute it and/or modify\n"
|
"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"
|
"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"
|
"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"
|
"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"
|
"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"
|
"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n"
|
||||||
|
);
|
||||||
#else
|
#else
|
||||||
|
printf(
|
||||||
"This library is free software; you can redistribute it and/or\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"
|
"modify it under the terms of the GNU Lesser General Public\n"
|
||||||
"License as published by the Free Software Foundation; either\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"
|
"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"
|
"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"
|
"Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n"
|
||||||
#endif
|
|
||||||
);
|
);
|
||||||
|
#endif
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user