Commit 2fb35a6e authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Fix basop issue 2357 by adding missing init to zero.

parent 187213dc
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 ################################## */

+8 −0
Original line number Diff line number Diff line
@@ -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;