summaryrefslogtreecommitdiff
path: root/libavcodec/dct-test.c
diff options
context:
space:
mode:
authorMarc Hoffman <mmh@pleasantst.com>2007-03-31 17:14:59 +0000
committerDiego Biurrun <diego@biurrun.de>2007-03-31 17:14:59 +0000
commitc6bdc90890250ce351b260eff69ce3c0d0745a62 (patch)
treed916592914a41e5bc3ad16f4cb2a29341390df62 /libavcodec/dct-test.c
parentb83f7eb2ce629e181d063cf94838bd6ed79069e0 (diff)
Remove illegal call to exit().
patch by Marc Hoffman, mmh pleasantst com Originally committed as revision 8575 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r--libavcodec/dct-test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 16b750c0d3..0e4684bd9b 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -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;
}
}