| Index: silk/float/find_pred_coefs_FLP.c
|
| diff --git a/silk/float/find_pred_coefs_FLP.c b/silk/float/find_pred_coefs_FLP.c
|
| index 0c6f0d6bf51c745729274478268441723e68e690..ea2c6c432ab459ef6a506d747416bf2f649e7848 100644
|
| --- a/silk/float/find_pred_coefs_FLP.c
|
| +++ b/silk/float/find_pred_coefs_FLP.c
|
| @@ -67,7 +67,7 @@ void silk_find_pred_coefs_FLP(
|
|
|
| /* Quantize LTP gain parameters */
|
| silk_quant_LTP_gains_FLP( psEncCtrl->LTPCoef, psEnc->sCmn.indices.LTPIndex, &psEnc->sCmn.indices.PERIndex,
|
| - WLTP, psEnc->sCmn.mu_LTP_Q9, psEnc->sCmn.LTPQuantLowComplexity, psEnc->sCmn.nb_subfr );
|
| + &psEnc->sCmn.sum_log_gain_Q7, WLTP, psEnc->sCmn.mu_LTP_Q9, psEnc->sCmn.LTPQuantLowComplexity, psEnc->sCmn.nb_subfr );
|
|
|
| /* Control LTP scaling */
|
| silk_LTP_scale_ctrl_FLP( psEnc, psEncCtrl, condCoding );
|
| @@ -90,6 +90,7 @@ void silk_find_pred_coefs_FLP(
|
| }
|
| silk_memset( psEncCtrl->LTPCoef, 0, psEnc->sCmn.nb_subfr * LTP_ORDER * sizeof( silk_float ) );
|
| psEncCtrl->LTPredCodGain = 0.0f;
|
| + psEnc->sCmn.sum_log_gain_Q7 = 0;
|
| }
|
|
|
| /* Limit on total predictive coding gain */
|
|
|