Commit b260a579 authored by TYAGIRIS's avatar TYAGIRIS
Browse files

Merge branch '653-msan-use-of-uninitialized-value-in-sba-wb-decoder-and-rate-switching' into 'main'

Resolving issue #653

See merge request !912
parents 05786c07 0028ef32
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -217,7 +217,7 @@
#define FIX_613_DIRAC_NULL_PTR_USAN                     /* Nokia: Issue #613: USAN in DirAC decoder setup */

#define MASA_AND_OBJECTS                                /* Nokia: Combination of MASA and objects */

#define FIX_653_BUG_IN_SKIP_MATRIX                      /* Dlb: fix for issue #653, bug in the ivas_spar_get_skip_mat function*/


/* ################## End BE DEVELOPMENT switches ######################### */
+4 −0
Original line number Diff line number Diff line
@@ -984,7 +984,11 @@ static void ivas_spar_get_skip_mat(
                {
                    for ( spar_band = 0; spar_band < num_spar_bands; spar_band++ )
                    {
#ifndef FIX_653_BUG_IN_SKIP_MATRIX
                        if ( hSpar->hMdDec->mixer_mat[out_ch][in_ch][spar_band + i_ts * MAX_PARAM_SPATIAL_SUBFRAMES] != 0.0f )
#else
                        if ( hSpar->hMdDec->mixer_mat[out_ch][in_ch][spar_band + i_ts * IVAS_MAX_NUM_BANDS] != 0.0f )
#endif
                        {
                            skip_flag = 0;
                            break;