Commit e66311cb authored by Jan Kiene's avatar Jan Kiene
Browse files

fix msan error in TD concealment in MDCT-Stereo

parent fce2db0e
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -169,6 +169,7 @@

#define NONBE_FIX_1021_ISM_BRIR_RS_FLUSH                /* FhG: issue #1021: fix ISM with JBM and RS renderer flushing*/
#define NONBE_FIX_1034_DRY_MASA_RATIOS                  /* Nokia: Fix issue 1034, use of wrong numDir state. */
#define NON_BE_FIX_1041_USE_OLD_CNG_LSPS_IF_NONSTAB     /* FhG: fix bug in TD MDCT-Stereo concealment */

/* ##################### End NON-BE switches ########################### */

+4 −0
Original line number Diff line number Diff line
@@ -567,7 +567,11 @@ void con_tcx(

            alpha_inv = 1.0f - alpha_delayed;

#ifdef NON_BE_FIX_1041_USE_OLD_CNG_LSPS_IF_NONSTAB
            a2lsp_stab( A_local, lsp_local, st->lspold_cng );
#else
            a2lsp_stab( A_local, lsp_local, lsp_local );
#endif

            for ( i = 0; i < M; i++ )
            {