diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2016-07-22 22:58:30 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2016-07-22 22:58:30 +0300 |
commit | b1d38ed32e236e224ea0b957762ccb458cadcd5b (patch) | |
tree | 390d715e69f2c6b57312757fc2d5210a6362b98e | |
parent | bb224a4b8e5419194961615d095cbb7cafe1323e (diff) |
Avoiding an overflow in the LTP quantization
Reduces the XX values to avoid an overflow in silk_VQ_WMat_EC(), even in
floating-point.
-rw-r--r-- | silk/tuning_parameters.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/tuning_parameters.h b/silk/tuning_parameters.h index 1625c3ee..d70275fd 100644 --- a/silk/tuning_parameters.h +++ b/silk/tuning_parameters.h @@ -57,7 +57,7 @@ extern "C" #define MAX_SUM_LOG_GAIN_DB 250.0f /* LTP analysis defines */ -#define LTP_CORR_INV_MAX 0.015f +#define LTP_CORR_INV_MAX 0.03f /***********************/ /* High pass filtering */ |