ref: 8abc6bee40f4df4c346f997f60d07d027bf9d27d
parent: cb2c77c68ea88b18490cc81ed58cda033ed4b62f
author: Jean-Marc Valin <[email protected]>
date: Wed Sep 15 02:57:55 EDT 2010
Fixes a minor folding bug for N=2 bands in stereo
--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -753,7 +753,7 @@
}
}
sign = 2*sign - 1;
- quant_band(encode, m, i, x2, NULL, N, mbits, spread, B, tf_change, lowband, resynth, ec, remaining_bits, LM, lowband_out, NULL, level+1, seed, gain, lowband_scratch);
+ quant_band(encode, m, i, x2, NULL, N, mbits, spread, B, tf_change, lowband, resynth, ec, remaining_bits, LM, lowband_out, NULL, level, seed, gain, lowband_scratch);
y2[0] = -sign*x2[1];
y2[1] = sign*x2[0];
if (resynth)