From 94e1be3489259b0a68ca88ccba28f90a1d61ade3 Mon Sep 17 00:00:00 2001 From: Sandesh Venkatesh Date: Sat, 17 Aug 2024 12:39:05 +0530 Subject: [PATCH] Fix for 3GPP issue 847: Crash in BINAURAL_ROOM_REVERB decode path --- lib_rend/ivas_reverb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_rend/ivas_reverb.c b/lib_rend/ivas_reverb.c index ca46f0590..42d48598a 100644 --- a/lib_rend/ivas_reverb.c +++ b/lib_rend/ivas_reverb.c @@ -3291,7 +3291,7 @@ static ivas_error downmix_input_block_fx( { temp = L_add( temp, pcm_in[i][add( input_offset, s )] ); } - pPcm_out[s] = L_shl( Mpy_32_32( dmx_gain_fx, L_shl_sat( temp, 7 ) ), 1 ); + pPcm_out[s] = W_extract_h( W_shl( W_mult0_32_32( dmx_gain_fx, temp ), 9 ) ); // ( Q23 + Q11 + Q9 ) - 32 = Q11 move32(); } BREAK; -- GitLab