summaryrefslogtreecommitdiff
path: root/src/opus_multistream_encoder.c
diff options
context:
space:
mode:
authorMark Harris <mark.hsj@gmail.com>2014-01-25 16:32:18 -0800
committerJean-Marc Valin <jmvalin@jmvalin.ca>2014-01-26 22:54:19 -0500
commit58107d896811f0e975bc1f8f75a5c1c2f6e746b0 (patch)
tree3ae251b4e18cc905ba229bcae2459f1d7ab32c13 /src/opus_multistream_encoder.c
parentc543ec1bd3d8e42a32132b139d606e2d3e67fb28 (diff)
downloadopus-58107d896811f0e975bc1f8f75a5c1c2f6e746b0.tar.gz
Fix surround encoding
Broken by 306d7f5a308e30ce10ba1a1dcdbeeb81de3b2872
Diffstat (limited to 'src/opus_multistream_encoder.c')
-rw-r--r--src/opus_multistream_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_multistream_encoder.c b/src/opus_multistream_encoder.c
index d6db70f6..6e52a4db 100644
--- a/src/opus_multistream_encoder.c
+++ b/src/opus_multistream_encoder.c
@@ -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++)