Commit 1e7023bd authored by Jan Kiene's avatar Jan Kiene
Browse files

initialze st->element_brate per default

parent d3508f9d
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -89,6 +89,7 @@
#define FIX_2252_SCALING_SAVE_HB_SYNTH                  /* VA: issue 2252: fix use-of-uninit-value in save_hb_synth_fx[] scaling in FOA decoding with bitstream that starts with an SID */
#define FIX_2248_EVS_ASSERT                             /* VA: Include _sat in an EVS related part of the code */
#define FIX_2254_IMPROV_COMPLEXITY_BE                   /* VA: BE small complexity reduction  */
#define FIX_1484_CLANG18_MSAN_INIT_ST_ELEM_BRATE        /* FhG: initialize st->element_brate per default */

/* #################### End BE switches ################################## */

+4 −0
Original line number Diff line number Diff line
@@ -402,6 +402,10 @@ ivas_error create_sce_dec(

    st->total_brate = hSCE->element_brate; /* dummy initialization for getting right pointers initialization of input buffers in init_coder_ace_plus() */
    move32();
#ifdef FIX_1484_CLANG18_MSAN_INIT_ST_ELEM_BRATE
    st->element_brate = 0;
    move32();
#endif
    st->mct_chan_mode = MCT_CHAN_MODE_REGULAR;
    move16();
    st->is_ism_format = 0;