Commit 4bf645e2 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

port NON_BE_FIX_1041_USE_OLD_CNG_LSPS_IF_NONSTAB

parent 4809dfb1
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -210,6 +210,7 @@
#define FIX_1001_ARI_HM_OVERFLOW                        /* FhG: fix for undef behaviour in in the harmonic TCX model arithmetic coder */
#define NONBE_FIX_1005_MC_RS_TCBUFFER_UPDATE            /* FhG: issue #1005: fix TC Buffer update at a MC rate switch */
#define NONBE_FIX_1004_USAN_DTX_MASA_NO_DIRS             /* Nokia: fix USAN error caused by non-setting of correctly the number of MASA directions in DTX */
#define NON_BE_FIX_1041_USE_OLD_CNG_LSPS_IF_NONSTAB     /* FhG: fix bug in TD MDCT-Stereo concealment */

/* #################### End BASOP porting 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++ )
            {