shithub: sox

Download patch

ref: 15ba7f5fa46fe8a17d1f56a15598923ca9ea4c1a
parent: 62600ff9083fef5df1bc90a3399333cc9063a2cb
author: robs <robs>
date: Wed May 20 17:01:56 EDT 2009

fix a rare crash

--- a/src/reverse.c
+++ b/src/reverse.c
@@ -45,7 +45,7 @@
 static int drain(sox_effect_t * effp, sox_sample_t *obuf, size_t *osamp)
 {
   priv_t * p = (priv_t *)effp->priv;
-  size_t i, j;
+  int i, j;
 
   if (p->pos == 0) {
     fflush(p->tmp_file);