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 /tests/rotozoom.c | |
parent | 2131e8590c447575a1c23bbc9f7e0bf9592d8997 (diff) | |
download | ffmpeg-771339ca206468636a64a6041852068be2da3dd2.tar.gz |
rotozoom: Return an error value instead of calling exit().
Diffstat (limited to 'tests/rotozoom.c')
-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 aebcc8e74a..644ae8b1eb 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; |