Avoiding an overflow in the LTP quantization

Reduces the XX values to avoid an overflow in silk_VQ_WMat_EC(), even in
floating-point.
This commit is contained in:
Jean-Marc Valin 2016-07-22 15:58:30 -04:00
parent bb224a4b8e
commit b1d38ed32e

View file

@ -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 */