From d08db45f6df964b94366f72f1dd296612f094f5d Mon Sep 17 00:00:00 2001 From: Sandesh Venkatesh Date: Sun, 18 Aug 2024 14:46:59 +0530 Subject: [PATCH] Fix for 3GPP issue 852 [x] Fixes missing synthesis when switching to CNG (stereo 13.2kbps) --- lib_dec/fd_cng_dec_fx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib_dec/fd_cng_dec_fx.c b/lib_dec/fd_cng_dec_fx.c index 2f7503caa..e2379c7cf 100644 --- a/lib_dec/fd_cng_dec_fx.c +++ b/lib_dec/fd_cng_dec_fx.c @@ -2623,6 +2623,8 @@ void perform_noise_estimation_dec_ivas_fx( IF( LT_16( e_temp, 0 ) ) { temp = L_shr( temp, abs_s( e_temp ) ); + e_temp = 0; + move16(); } ftemp = rand_gauss( &hFdCngDec->cna_seed ); -- GitLab