Skip to content
Snippets Groups Projects
Commit 24310ad1 authored by Mans Rullgard's avatar Mans Rullgard
Browse files

mqarender: print error message if filenames not given

parent 892aa808
No related branches found
No related tags found
No related merge requests found
......@@ -85,8 +85,10 @@ int main(int argc, char **argv)
argc -= optind;
argv += optind;
if (argc < 2)
if (argc < 2) {
fprintf(stderr, "Input and output filenames must be given\n");
return 1;
}
memset(&infmt, 0, sizeof(infmt));
infile = sf_open(argv[0], SFM_READ, &infmt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment