don't loop infinitely when failing to read a riff file

This commit is contained in:
Bill Currie 2005-02-06 07:41:22 +00:00
parent d63e7b609e
commit 71678e1859
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ main (int argc, char **argv)
}
if (!f || !riff) {
fprintf (stderr, "couldn't read %s\n", argv[optind]);
optind++;
continue;
}
optind++;