Commit a6ea525a authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

port NON_BE_FIX_1041_USE_OLD_CNG_LSPS_IF_NONSTAB

parent add4f598
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -135,6 +135,7 @@
#define FIX_1003_PARAMISM_BINAURAL_RECONFIG_USAN        /* FhG: fix for #1003: fix USAN caused by ParamISM reconfig                    */
#define FIX_1001_ARI_HM_OVERFLOW                        /* FhG: (no changes needed in BASOP) 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 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
@@ -1744,7 +1744,11 @@ void con_tcx_ivas_fx(

            alpha_inv = sub( 16384 /*Q.0f in Q14*/, alpha_delayed ); /*Q14*/

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

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