Commit 78624557 authored by diego's avatar diego

Make show-license exit 0.

patch by Stefano Sabatini, stefano.sabatini-lala poste it


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10070 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d217d8ee
...@@ -3760,7 +3760,7 @@ static void opt_show_license(void) ...@@ -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) ...@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment