From 2fb35a6e14375665f6c01d6375d376f4939843ec Mon Sep 17 00:00:00 2001 From: Tapani Pihlajakuja Date: Fri, 23 Jan 2026 15:50:52 +0200 Subject: [PATCH] Fix basop issue 2357 by adding missing init to zero. --- lib_com/options.h | 1 + lib_dec/ivas_omasa_dec_fx.c | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/lib_com/options.h b/lib_com/options.h index c7cd38dd8..ec51e47ff 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -107,6 +107,7 @@ #define FIX_2330_CLANG_18_WARNINGS_REND /* FhG: Fix renderer warnings */ #define FIX_BASOP_2350_HARM_0B_BWE /* VA: basop issue 2350: harmonization of the 0b BWE */ #define FIX_2349_HARM_FIND_UV /* VA: basop issue 2349: harmonization of find_uv() function */ +#define FIX_BASOP_2357_OBJECT_EDIT_MSAN /* Nokia: basop issue 2357: initialize missing exponents in object edit */ /* #################### End BE switches ################################## */ diff --git a/lib_dec/ivas_omasa_dec_fx.c b/lib_dec/ivas_omasa_dec_fx.c index f06e1ec85..1659d4912 100644 --- a/lib_dec/ivas_omasa_dec_fx.c +++ b/lib_dec/ivas_omasa_dec_fx.c @@ -344,8 +344,16 @@ ivas_error ivas_omasa_data_open_fx( move16(); hMasaIsmData->preprocEneTarget_fx[band_idx] = 0; move32(); +#ifdef FIX_BASOP_2357_OBJECT_EDIT_MSAN + hMasaIsmData->preprocEneTarget_e[band_idx] = 0; + move16(); +#endif hMasaIsmData->preprocEneRealized_fx[band_idx] = 0; move32(); +#ifdef FIX_BASOP_2357_OBJECT_EDIT_MSAN + hMasaIsmData->preprocEneRealized_e[band_idx] = 0; + move16(); +#endif } hMasaIsmData->objectsEdited = 0; -- GitLab