summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2015-11-28 02:35:21 -0500
committerJean-Marc Valin <jmvalin@jmvalin.ca>2015-11-28 02:35:21 -0500
commit358183812176c252988c79bf84a34f5d3f2ef82d (patch)
tree7bd6aab9078af55a2de05410e080aa2135c74ea7
parenta436027bbcd768dca9b476d99babe15462e7cf3a (diff)
downloadopus-exp_lbr_tune1.tar.gz
Oops, fixes max_decay for LFE in fixed-pointexp_lbr_tune1
-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);