ref: 7b27ba11d51009ec778c0143b84f02ba31a0aea3
parent: 73db929a561f8c81959f29304801898de49f1637
author: rrt <rrt>
date: Sat Nov 11 17:46:36 EST 2006
Drain if there are *no* errors, not only if there *are*.
--- a/src/sox.c
+++ b/src/sox.c
@@ -789,7 +789,7 @@
/* This will drain the effects */
/* Don't write if output is indicating errors. */
- if (writing && file_desc[file_count-1]->st_errno)
+ if (writing && file_desc[file_count-1]->st_errno == 0)
drain_effect_out();
#ifdef SOXMIX