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 22:58:30 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-22 22:58:30 +0300
commitb1d38ed32e236e224ea0b957762ccb458cadcd5b (patch)
tree390d715e69f2c6b57312757fc2d5210a6362b98e
parentbb224a4b8e5419194961615d095cbb7cafe1323e (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.h2
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 */