mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
Make show-license exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 10070 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c20bd3e0d8
commit
5c14a7955e
2
ffmpeg.c
2
ffmpeg.c
@ -3760,7 +3760,7 @@ static void opt_show_license(void)
|
|||||||
"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n"
|
"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n"
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
exit(1);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4439,7 +4439,7 @@ int main(int argc, char **argv)
|
|||||||
switch(c) {
|
switch(c) {
|
||||||
case 'L':
|
case 'L':
|
||||||
show_license();
|
show_license();
|
||||||
exit(1);
|
exit(0);
|
||||||
case '?':
|
case '?':
|
||||||
case 'h':
|
case 'h':
|
||||||
show_help();
|
show_help();
|
||||||
|
Loading…
Reference in New Issue
Block a user