Browse code

Remove illegal call to exit(). patch by Marc Hoffman, mmh pleasantst com

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

Marc Hoffman authored on 2007/04/01 02:14:59
Showing 1 changed files
... ...
@@ -461,7 +461,6 @@ void help(void)
461 461
            "            2 -> do 3. test from mpeg4 std\n"
462 462
            "-i          test IDCT implementations\n"
463 463
            "-4          test IDCT248 implementations\n");
464
-    exit(1);
465 464
 }
466 465
 
467 466
 int main(int argc, char **argv)
... ...
@@ -493,7 +492,7 @@ int main(int argc, char **argv)
493 493
         default :
494 494
         case 'h':
495 495
             help();
496
-            break;
496
+            return 0;
497 497
         }
498 498
     }
499 499