Commit a1272c06 authored by Stan Seibert's avatar Stan Seibert

Fix bug 287.

svn path=/trunk/vorbis-tools/; revision=5264
parent 9012512b
......@@ -211,7 +211,7 @@ static int decode_file(char *infile, char *outfile)
}
else {
out = fopen(outfile, "wb");
if(!in) {
if(!out) {
fprintf(stderr, "ERROR: Failed to open output file: %s\n", strerror(errno));
return 1;
}
......
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