Remove illegal call to exit().
authorMarc Hoffman <mmh@pleasantst.com>
Sat, 31 Mar 2007 17:14:59 +0000 (17:14 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 31 Mar 2007 17:14:59 +0000 (17:14 +0000)
patch by Marc Hoffman, mmh pleasantst com

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

libavcodec/dct-test.c

index 16b750c..0e4684b 100644 (file)
@@ -461,7 +461,6 @@ void help(void)
            "            2 -> do 3. test from mpeg4 std\n"
            "-i          test IDCT implementations\n"
            "-4          test IDCT248 implementations\n");
-    exit(1);
 }
 
 int main(int argc, char **argv)
@@ -493,7 +492,7 @@ int main(int argc, char **argv)
         default :
         case 'h':
             help();
-            break;
+            return 0;
         }
     }