Commit 771339ca authored by Diego Biurrun's avatar Diego Biurrun

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

parent 2131e859
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment