summaryrefslogtreecommitdiff
path: root/tests/rotozoom.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-05-09 11:16:55 +0200
committerDiego Biurrun <diego@biurrun.de>2011-05-11 11:54:57 +0200
commit771339ca206468636a64a6041852068be2da3dd2 (patch)
tree555c10131eae7e1c069cc2936afb277a009d195a /tests/rotozoom.c
parent2131e8590c447575a1c23bbc9f7e0bf9592d8997 (diff)
rotozoom: Return an error value instead of calling exit().
Diffstat (limited to 'tests/rotozoom.c')
-rw-r--r--tests/rotozoom.c2
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;