Mercurial > libavcodec.hg
comparison dct-test.c @ 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 | d49f8b3e8c4a |
children | b7c27288e509 |
comparison
equal
deleted
inserted
replaced
4753:7115a2f0854d | 4754:0c378ce84378 |
---|---|
459 "test-number 0 -> test with random matrixes\n" | 459 "test-number 0 -> test with random matrixes\n" |
460 " 1 -> test with random sparse matrixes\n" | 460 " 1 -> test with random sparse matrixes\n" |
461 " 2 -> do 3. test from mpeg4 std\n" | 461 " 2 -> do 3. test from mpeg4 std\n" |
462 "-i test IDCT implementations\n" | 462 "-i test IDCT implementations\n" |
463 "-4 test IDCT248 implementations\n"); | 463 "-4 test IDCT248 implementations\n"); |
464 exit(1); | |
465 } | 464 } |
466 | 465 |
467 int main(int argc, char **argv) | 466 int main(int argc, char **argv) |
468 { | 467 { |
469 int test_idct = 0, test_248_dct = 0; | 468 int test_idct = 0, test_248_dct = 0; |
491 test_248_dct = 1; | 490 test_248_dct = 1; |
492 break; | 491 break; |
493 default : | 492 default : |
494 case 'h': | 493 case 'h': |
495 help(); | 494 help(); |
496 break; | 495 return 0; |
497 } | 496 } |
498 } | 497 } |
499 | 498 |
500 if(optind <argc) test= atoi(argv[optind]); | 499 if(optind <argc) test= atoi(argv[optind]); |
501 | 500 |