Skip to content
Snippets Groups Projects
Commit fcf59762 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

ismindex: Avoid writing ismf files if no base name has been specified


Previously, this could create files named "(null).ismf", if the -ismf
parameter is specified (before an input file name), but without
specifying any base name.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 803e8227
No related branches found
No related tags found
No related merge requests found
......@@ -679,6 +679,8 @@ int main(int argc, char **argv)
} else if (argv[i][0] == '-') {
return usage(argv[0], 1);
} else {
if (!basename)
ismf = 0;
if (handle_file(&tracks, argv[i], split, ismf,
basename, output_prefix))
return 1;
......
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