diff --git a/lib_com/options.h b/lib_com/options.h index ad53cf3406f47168ffaac735cdbabe24507b5a08..af074f904ecfa4aadf4740b3be5141b7b552d443 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -163,6 +163,7 @@ #define TMP_1342_WORKAROUND_DEC_FLUSH_BROKEN_IN_SR /* FhG: Temporary workaround for incorrect implementation of decoder flush with split rendering */ #define NONBE_1122_KEEP_EVS_MODE_UNCHANGED /* FhG: Disables fix for issue 1122 in EVS mode to keep BE tests green. This switch should be removed once the 1122 fix is added to EVS via a CR. */ #define FIX_2392_MSAN_DESTROY_DEC /* VA: basop issue 2392: fix MSAN in ivas_destroy_dec_fx() */ +#define FIX_FLOAT_1522_LTV_MSAN_QMETADATA_ENC_EC3 /* Nokia: float issue 1522: fix uninit MSAN in EC3 of qmetadata encoding */ /* #################### End BE switches ################################## */ diff --git a/lib_enc/ivas_qmetadata_enc.c b/lib_enc/ivas_qmetadata_enc.c index dadc9dd7a3b491e566e90d78123ea6d8d1ad065d..7cb3532a1b477d7e5e8d62b44e117ef3b45d3a99 100644 --- a/lib_enc/ivas_qmetadata_enc.c +++ b/lib_enc/ivas_qmetadata_enc.c @@ -2105,6 +2105,10 @@ static int16_t GR_bits_azimuth_context( int16_t real_GR_ord1; int16_t no_symb_local[MAX_PARAM_SPATIAL_SUBFRAMES]; int16_t no_data = 0; +#ifdef FIX_FLOAT_1522_LTV_MSAN_QMETADATA_ENC_EC3 + + *real_GR_ord = GR_order; /* Init to avoid sanitizer warnings */ +#endif for ( i = 0; i < no_data_in; i++ ) {