diff --git a/lib_com/options.h b/lib_com/options.h index ab884ad4ea3d3f0a92df97cfe1a949d721f820a4..9e8a3faffc91b95d1e1364510c208c05e7f5c751 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -188,6 +188,7 @@ #define NONBE_FIX_1056_ISM_RATE_SWITCH /* FhG: Fix #1056: fix TC buffer udpate on a ISM rate switch */ #define FIX_970_USAN_IN_NELP_SEED #define NONBE_FIX_1075 /* FhG: fix segfault for bitrate switching + BINAURAL_ROOM_REVERB output in MC */ +#define NON_BE_FIX_1041_USE_OLD_CNG_LSPS_IF_NONSTAB /* FhG: fix bug in TD MDCT-Stereo concealment */ #define NONBE_FIX_984_OMASA_EXT_OUTPUT /* Nok: issue 1497 - porting OMASA EXT MR */ /* #################### End BASOP porting switches ############################ */ diff --git a/lib_dec/er_dec_tcx.c b/lib_dec/er_dec_tcx.c index ab69fe810e8a93cf91eaa3ce995a375e98186b9e..0e0f3f46924f9a6c1aac8b6dcc7eab47c1674a11 100644 --- a/lib_dec/er_dec_tcx.c +++ b/lib_dec/er_dec_tcx.c @@ -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++ ) {