Commit 48e9e3c9 authored by Michael Smith's avatar Michael Smith

Fix same bug as was recently fixed in oggdrop in oggenc, need to close input

file in one circumstance which wasn't being caught. Oops.

svn path=/trunk/vorbis-tools/; revision=2101
parent 820dbe69
......@@ -192,6 +192,8 @@ int main(int argc, char **argv)
if(!foundformat)
{
fprintf(stderr, "ERROR: Input file \"%s\" is not a supported format\n", infiles[i]);
if(closein)
fclose(in);
errors++;
continue;
}
......
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