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>2015-11-28 10:35:21 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2015-12-24 00:13:49 +0300
commit257ab3767427bcd87eb82e4408a698412769d406 (patch)
treee53f0456f4c9f87d0fca7cc30031bee8d3604fb3
parentc3147ed5db515281daf1ec506bdbe0be3c2585b7 (diff)
Oops, fixes max_decay for LFE in fixed-point
-rw-r--r--celt/quant_bands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/quant_bands.c b/celt/quant_bands.c
index ac6952c2..95076e0a 100644
--- a/celt/quant_bands.c
+++ b/celt/quant_bands.c
@@ -292,7 +292,7 @@ void quant_coarse_energy(const CELTMode *m, int start, int end, int effEnd,
#endif
}
if (lfe)
- max_decay=3;
+ max_decay = QCONST16(3.f,DB_SHIFT);
enc_start_state = *enc;
ALLOC(oldEBands_intra, C*m->nbEBands, opus_val16);