From 771339ca206468636a64a6041852068be2da3dd2 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 9 May 2011 11:16:55 +0200 Subject: rotozoom: Return an error value instead of calling exit(). --- tests/rotozoom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/rotozoom.c') 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; -- cgit v1.2.3