diff --git a/lib_com/options.h b/lib_com/options.h index 7b51293004d6beb400195755d86382c86eb864e4..d2ffa2ca104599b9abd87d5d0aa2442d93b69307 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -97,6 +97,8 @@ #define FIX_2009_HIGH_NOISE_FLOOR_FOR_FX_DEC /* FhG: Corrected the q_input in the input of generate_masking_noise_dirac_ivas_fx() */ #define FIX_ISSUE_2013_MDCT_STEREO_DTX_DISCONTINUITIES /* Eri/FhG: Issue 2013 fix for dtx discontinuities */ +#define FIX_ISSUE_2013_MDCT_STEREO_FER_DISCONTINUITIES /* Eri/FhG: Issue 2013 fix for FER discontinuities */ + /* #################### Start BASOP porting switches ############################ */ #define NONBE_1244_FIX_SWB_BWE_MEMORY /* VA: issue 1244: fix to SWB BWE memory in case of switching from FB coding - pending a review by Huawei */ diff --git a/lib_dec/core_switching_dec_fx.c b/lib_dec/core_switching_dec_fx.c index 4d5dbf83a4a361f055d27c2041ecbd408b4f5ba3..be95ebaf006cbfe800c81c7fa7be8a18403beb8f 100644 --- a/lib_dec/core_switching_dec_fx.c +++ b/lib_dec/core_switching_dec_fx.c @@ -1707,6 +1707,9 @@ ivas_error core_switching_post_dec_ivas_fx( move16(); ptmp1++; ptmp2++; +#ifdef FIX_ISSUE_2013_MDCT_STEREO_FER_DISCONTINUITIES + tmpF = add( tmpF, tmp ); /* Q15 */ +#endif } } ELSE