*** empty log message ***

This commit is contained in:
Josh Coalson
2007-09-12 05:34:36 +00:00
parent 1364a1e8b5
commit 0af1527d46
3 changed files with 6 additions and 7 deletions

View File

@@ -73,13 +73,14 @@ int main(int argc, char *argv[])
return 1;
}
if((decoder = FLAC__stream_decoder_new()) == NULL) {
fprintf(stderr, "ERROR: allocation decoder\n");
if((fout = fopen(argv[2], "wb")) == NULL) {
fprintf(stderr, "ERROR: opening %s for output\n", argv[2]);
return 1;
}
if((fout = fopen(argv[2], "wb")) == NULL) {
fprintf(stderr, "ERROR: opening %s for output\n", argv[2]);
if((decoder = FLAC__stream_decoder_new()) == NULL) {
fprintf(stderr, "ERROR: allocating decoder\n");
fclose(fout);
return 1;
}