Commit 5c14a795 authored by Stefano Sabatini's avatar Stefano Sabatini Committed by Diego Biurrun

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
parent c20bd3e0
...@@ -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