From c0b555c43a25bbed7dda8be49b3ff853034b181e Mon Sep 17 00:00:00 2001 From: vaclav Date: Wed, 17 Dec 2025 11:18:05 +0100 Subject: [PATCH] introduce FIX_1487_ACCESS_OF_UNINIT_VAL_FROM_ARR_ISM_DTX --- lib_com/options.h | 1 + lib_dec/ivas_ism_dtx_dec_fx.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/lib_com/options.h b/lib_com/options.h index 5e8a08b81..b7e24bfb2 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 162cc42ed..41e3ce466 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 ) { -- GitLab