ref: daf445fed6b8ff833b405c273585ab9ce5c08d2c
parent: 61785c920e60730088213b0ddd1e6094836fbbd2
author: robs <robs>
date: Fri Oct 24 13:53:04 EDT 2008
revert error message
--- a/src/formats.c
+++ b/src/formats.c
@@ -824,11 +824,8 @@
else result = ft->handler.stopwrite? (*ft->handler.stopwrite)(ft) : SOX_SUCCESS;
}
- if (ft->fp && ft->fp != stdin && ft->fp != stdout &&
- xfclose(ft->fp, ft->is_process) && ft->is_process) {
- lsx_fail("error reading file URL `%s'", ft->filename);
- result = SOX_EOF;
- }
+ if (ft->fp && ft->fp != stdin && ft->fp != stdout)
+ xfclose(ft->fp, ft->is_process);
free(ft->filename);
free(ft->filetype);
sox_delete_comments(&ft->oob.comments);