diff --git a/lib_com/options.h b/lib_com/options.h index dfad27a7ba4bd730e516aaba1f384d45aa6772c6..19badde5895ba6776d9c8a1d947ea054fe93005d 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -196,6 +196,7 @@ #define FIX_1113_EXTREND_ISAR /* FhG: issue 1113: fix external renderer asserts for FOA/HOA2 and CLDFB config */ #define FIX_938_COMPILER_WARNING /* FhG: Fix compiler warning in ivas_mdct_core_reconstruct() */ #define FIX_1376_MISSING_ISM_METADATA /* FhG: IVAS_rend: throw error if there exists an ISM input without a corresponding metadata file path */ +#define FIX_1385_INIT_IGF_STOP_FREQ /* FhG: Initialize infoIGFStopFreq in init_igf_dec() */ /* #################### End BASOP porting switches ############################ */ diff --git a/lib_dec/igf_dec.c b/lib_dec/igf_dec.c index dac1f0278798fbd1917b81843c226da15fb77eb8..ba7c4993fd1f8722f8a81aa6ca62afbc61958b53 100644 --- a/lib_dec/igf_dec.c +++ b/lib_dec/igf_dec.c @@ -1592,6 +1592,9 @@ void init_igf_dec( hIGFDec->flag_sparse = &hIGFDec->flag_sparseBuf[0]; hIGFDec->infoTCXNoise = &hIGFDec->infoTCXNoiseBuf[0]; hIGFDec->virtualSpec = &hIGFDec->virtualSpecBuf[0]; +#ifdef FIX_1385_INIT_IGF_STOP_FREQ + hIGFDec->infoIGFStopFreq = 0; +#endif return; }