changeset 4754:0c378ce84378 libavcodec

Remove illegal call to exit(). patch by Marc Hoffman, mmh pleasantst com
author diego
date Sat, 31 Mar 2007 17:14:59 +0000
parents 7115a2f0854d
children b7c27288e509
files dct-test.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dct-test.c	Sat Mar 31 16:47:39 2007 +0000
+++ b/dct-test.c	Sat Mar 31 17:14:59 2007 +0000
@@ -461,7 +461,6 @@
            "            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 @@
         default :
         case 'h':
             help();
-            break;
+            return 0;
         }
     }