diff --git a/lib_com/options.h b/lib_com/options.h index a9eb870a3d11f5b6b49b377d1afed048f9d96cab..bf88e3641bb0cc3b30889743c4795f2cee0c83e3 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -96,6 +96,7 @@ #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() */ #define FIX_BASOP_2871_INIT_Q_SYN_FACTOR /* FhG: make sure, st_fx->Q_syn_factor gets initialized during decoder startup */ +#define FIX_BASOP_2470_POWER_SPEC_E_INIT /* FhG: make sure powerSpec_e is always initialized in core_signal_analysis_high_bitrate_fx() */ /* #################### End BE switches ################################## */ @@ -108,8 +109,8 @@ #define FIX_2440_AGC_PRESCALING /* FhG: basop issue 2440: Fix loop bounds when scaling p_output_fx before ivas_spar_dec_agc_pca_fx() */ #define FIX_2471_REMOVE_POSSIBLE_OVRF /* VA: basop issue 2471: correcting undesired overflow */ #define FIX_2465_Q_BWE_EXC /* VA: basop issue 2465: fix calculation of Q_bwe_exc in SWB TBE encoder */ -#define FIX_2436_CLDFBANAHANDLE_ADRESS /*FhG: cldfb handle pointer were handed over in faulty manner*/ -#define FIX_BASOP_2436_REUSED_CLDFB_IN_OMASA_SR /*FhG: basop issue 2436 (related to basop 2283): fix garbage output for >1 object OMASA with extrend as ISAR prerenderer */ +#define FIX_2436_CLDFBANAHANDLE_ADRESS /* FhG: cldfb handle pointer were handed over in faulty manner*/ +#define FIX_BASOP_2436_REUSED_CLDFB_IN_OMASA_SR /* FhG: basop issue 2436 (related to basop 2283): fix garbage output for >1 object OMASA with extrend as ISAR prerenderer */ #define FIX_BASOP_2472_IGF_SP_AUD_DEC_CHAN /* FhG: always use channel 1 for sp_aud_decision0[] being passed to ProcessIGF_ivas_fx() */ /* ##################### End NON-BE switches ########################### */ diff --git a/lib_enc/ext_sig_ana_fx.c b/lib_enc/ext_sig_ana_fx.c index 395fdbf532cb9339036ad3d4f5479f5c29e28073..274cd19370550af827019354f010e31085474817 100644 --- a/lib_enc/ext_sig_ana_fx.c +++ b/lib_enc/ext_sig_ana_fx.c @@ -74,6 +74,11 @@ void core_signal_analysis_high_bitrate_fx( (void) vad_hover_flag; (void) last_element_mode; +#ifdef FIX_BASOP_2470_POWER_SPEC_E_INIT + powerSpec_e = 0; /* for TCX5, this is not initialized in AnalyzePowerSpectrum_fx(), but still passed to ProcessIGF_fx() */ + move16(); +#endif + left_overlap = -1; move16(); right_overlap = -1;