From f9649675fb1b40a290751fa2b83f301f3b5c598f Mon Sep 17 00:00:00 2001 From: Markus Multrus Date: Fri, 6 Mar 2026 14:56:05 +0100 Subject: [PATCH] make sure no_param_lpc is initialized in core_encode_twodiv() --- lib_com/options.h | 1 + lib_enc/core_enc_2div_fx.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/lib_com/options.h b/lib_com/options.h index 23a5aa26c..678dee70d 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -91,6 +91,7 @@ #define HARM_2456_APPLY_SCALE /* FhG basop issue 2456: Harmonize apply_scale_ind(), apply_scale_ivas_fx() */ #define HARM_2454_TCX_RES_Q_SPEC /* FhG: harmonization of tcx_res_Q_spec_fx() and tcx_res_Q_spec_ivas_fx() */ #define FIX_FLOAT_1535_ARI_RES_Q_CLEANUP /* FhG: remove dead code from tcx_ari_res_Q_spec() */ +#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 dbc7d44ec..25cd63340 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++ ) { -- GitLab