rotozoom: Return an error value instead of calling exit().

This commit is contained in:
Diego Biurrun 2011-05-09 11:16:55 +02:00
parent 2131e8590c
commit 771339ca20

View File

@ -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;