shithub: opus

Download patch

ref: 4f0de0ba6a0b8edb6f386f948ab51bf1df209283
parent: 43e940620151128e0cea9f05ee9ec58d1d64c93f
author: Jean-Marc Valin <[email protected]>
date: Mon May 31 05:51:36 EDT 2010

Fixed stupid bug for single-sample bands

--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -513,7 +513,7 @@
             x[0] = sign ? -NORM_SCALING : NORM_SCALING;
          x = Y;
       }
-      if (c==0 && lowband_out)
+      if (lowband_out)
          lowband_out[0] = X[0];
       return;
    }