Fix surround encoding

Broken by 306d7f5a30
This commit is contained in:
Mark Harris 2014-01-25 16:32:18 -08:00 committed by Jean-Marc Valin
parent c543ec1bd3
commit 58107d8968

View file

@ -267,7 +267,7 @@ void surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *b
freq[i] = 0;
}
compute_band_energies(celt_mode, freq, bandE, 21, 1, 1<<LM);
compute_band_energies(celt_mode, freq, bandE, 21, 1, LM);
amp2Log2(celt_mode, 21, 21, bandE, bandLogE+21*c, 1);
/* Apply spreading function with -6 dB/band going up and -12 dB/band going down. */
for (i=1;i<21;i++)