forked from FFmpeg/FFmpeg
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 changed files with 2 additions and 2 deletions
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"
|
||||
);
|
||||
#endif
|
||||
exit(1);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -4439,7 +4439,7 @@ int main(int argc, char **argv)
|
|||
switch(c) {
|
||||
case 'L':
|
||||
show_license();
|
||||
exit(1);
|
||||
exit(0);
|
||||
case '?':
|
||||
case 'h':
|
||||
show_help();
|
||||
|
|
Loading…
Add table
Reference in a new issue