Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-22 21:42:29 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-22 22:30:19 +0300
commitb290bca91aeb047d03841bd1897c1cd0ca6d5344 (patch)
tree6c192a2d18fea7778b62b143cc24d3a2212077aa
parent43b47a41b12809ea3ede5516050e19328019533b (diff)
Fixes shift<-2 case for denormalise_bands()
-rw-r--r--celt/bands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/bands.c b/celt/bands.c
index 87eaa6c0..ae03072e 100644
--- a/celt/bands.c
+++ b/celt/bands.c
@@ -246,7 +246,7 @@ void denormalise_bands(const CELTMode *m, const celt_norm * OPUS_RESTRICT X,
already corrupted. */
if (shift < -2)
{
- g = 32767;
+ g = 16384;
shift = -2;
}
do {