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

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