diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-05-09 11:16:55 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-05-11 11:54:57 +0200 |
commit | 771339ca206468636a64a6041852068be2da3dd2 (patch) | |
tree | 555c10131eae7e1c069cc2936afb277a009d195a | |
parent | 2131e8590c447575a1c23bbc9f7e0bf9592d8997 (diff) | |
download | ffmpeg-streaming-771339ca206468636a64a6041852068be2da3dd2.zip ffmpeg-streaming-771339ca206468636a64a6041852068be2da3dd2.tar.gz |
rotozoom: Return an error value instead of calling exit().
-rw-r--r-- | tests/rotozoom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rotozoom.c b/tests/rotozoom.c index aebcc8e..644ae8b 100644 --- a/tests/rotozoom.c +++ b/tests/rotozoom.c @@ -279,7 +279,7 @@ int main(int argc, char **argv) if (argc != 3) { printf("usage: %s directory/ image.pnm\n" "generate a test video stream\n", argv[0]); - exit(1); + return 1; } w = DEFAULT_WIDTH; |