diff --git a/lib_com/options.h b/lib_com/options.h index a84960578f2c49978155881263149f2ffdc7cbbd..368114503d528873a064977ce1dafebe478a3251 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -94,6 +94,7 @@ #define HQ_ALIGN_DUPLICATED_CODE /* Eri: Align duplicated code */ #define FIX_2467_RENAME_GSC_FUNCTION /* VA: basop issue 2467: Removal of unused function/table and renaming of _ivas_fx versions to default ones. */ #define HARMONIZE_FUNC /* VA: basop issue 2460: Remove duplicated code: various functions */ +#define FIX_FLOAT_1536_INIT_NO_PARAM_LPC /* FhG: make sure no_param_lpc is initialized in core_encode_twodiv() */ /* #################### End BE switches ################################## */ diff --git a/lib_enc/core_enc_2div_fx.c b/lib_enc/core_enc_2div_fx.c index dbc7d44ec6a1a578f6690aaf41e525453a9b306d..25cd633400cd5783a80a04b93e5f8b4c53ab6499 100644 --- a/lib_enc/core_enc_2div_fx.c +++ b/lib_enc/core_enc_2div_fx.c @@ -67,11 +67,17 @@ void core_encode_twodiv_fx( move16(); move16(); move16(); +#ifdef FIX_FLOAT_1536_INIT_NO_PARAM_LPC + move16(); +#endif tnsSize[0] = 0; tnsSize[1] = 0; tnsBits[0] = 0; tnsBits[1] = 0; ltpBits = 0; +#ifdef FIX_FLOAT_1536_INIT_NO_PARAM_LPC + no_param_lpc = 0; +#endif FOR( i = 0; i < 3; i++ ) {