shithub: opus

Download patch

ref: 725e5f4b4cf0bb5a6c7917d72c4ec46129a1e627
parent: 5277d2db038b1d72d79b4e400566182921630dbf
author: Jean-Marc Valin <[email protected]>
date: Sat Sep 11 04:57:59 EDT 2010

Fix a minor, but bitstream-affecting bug

--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -710,7 +710,7 @@
             next_level = level+1;
 
          quant_band(encode, m, i, X, NULL, N, mbits, spread, B, tf_change, lowband, resynth, ec, remaining_bits, LM, next_lowband_out1, NULL, next_level, seed);
-         quant_band(encode, m, i, Y, NULL, N, sbits, spread, B, tf_change, next_lowband2, resynth, ec, remaining_bits, LM, NULL, NULL, level, seed);
+         quant_band(encode, m, i, Y, NULL, N, sbits, spread, B, tf_change, next_lowband2, resynth, ec, remaining_bits, LM, NULL, NULL, next_level, seed);
       }
 
    } else {