Make ffserver -h exit 0.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 13 Aug 2007 08:41:51 +0000 (08:41 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 13 Aug 2007 08:41:51 +0000 (08:41 +0000)
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10103 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffserver.c

index c397d4b..f8ccfcb 100644 (file)
@@ -4443,7 +4443,7 @@ int main(int argc, char **argv)
         case '?':
         case 'h':
             show_help();
-            exit(1);
+            exit(0);
         case 'n':
             no_launch = 1;
             break;