ref: 086ea7c7e567b68e01ea15561e8b825ecfc78606
parent: 35a44c6100648f62955e5389b2ffdcff77fccffc
author: Jean-Marc Valin <[email protected]>
date: Fri Nov 29 11:47:52 EST 2013
Whoa! This fixes a pretty bad fixed-point stereo regression
--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1816,7 +1816,7 @@
if (LM!=0)
dual_stereo = stereo_analysis(mode, X, LM, N);
- st->intensity = hysteresis_decision((opus_val16)equiv_rate/1000,
+ st->intensity = hysteresis_decision((opus_val16)(equiv_rate/1000),
intensity_thresholds, intensity_histeresis, 21, st->intensity);
st->intensity = IMIN(st->end,IMAX(st->start, st->intensity));
}