diff --git a/lib_com/options.h b/lib_com/options.h index 5e8a08b81622f9324e5c7de4553187075730025b..b7e24bfb28f1e671a5c370c0bfc680f7bbf1de00 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -101,6 +101,7 @@ #define FIX_2278_OOB_INDEXING_IN_CLOSED_LOOP_PIT_SEARCH /* FhG: fix oob indexing USAN complaint */ #define FIX_2287_MCT_MDCT_STEREO_DATA_MALLOC_SIZE /* FhG: correct allocation size for STEREO_MDCT_DEC_DATA struct */ #define FIX_1904_HARM_GSC_ENC /* VA: #1904 Harmonization of EVS and IVAS GSC code */ +#define FIX_1487_ACCESS_OF_UNINIT_VAL_FROM_ARR_ISM_DTX /* FhG/VA: init nb_bits_metadata to zero */ /* #################### End BE switches ################################## */ diff --git a/lib_dec/ivas_ism_dtx_dec_fx.c b/lib_dec/ivas_ism_dtx_dec_fx.c index 162cc42ed5ac60975c925ba61789c1846d45fefd..41e3ce46604f3e38b063ec923b2e6c5998189a35 100644 --- a/lib_dec/ivas_ism_dtx_dec_fx.c +++ b/lib_dec/ivas_ism_dtx_dec_fx.c @@ -126,6 +126,12 @@ void ivas_ism_dtx_dec_fx( move16(); } } +#ifdef FIX_1487_ACCESS_OF_UNINIT_VAL_FROM_ARR_ISM_DTX + ELSE + { + set16_fx( nb_bits_metadata, 0, st_ivas->nchan_transport ); + } +#endif IF( !st_ivas->bfi ) {