Commit 96d1ba87 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch '695-crash-in-sba-decoder-with-dtx' into 'main'

Resolve "crash in SBA decoder with dtx"

Closes #695

See merge request !179
parents b1674aea c592b565
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2938,7 +2938,11 @@ void hq_generic_decoding_fx(
		tmp4_fx = mult_r(tmp3_fx, 1638);
		WHILE(tmp3_fx > 1024)
		{
#ifdef EVS_FUNC_MODIFIED
			L_tmp1 = L_shl(Mult_32_16(*pit1_fx , tmp3_fx), 5);      /*15 + 5 + 10 -15 */
#else
			L_tmp1 = Mult_32_16(L_shl(*pit1_fx, 5), tmp3_fx);      /*15 + 5 + 10 -15 */
#endif
			*pit1_fx-- = L_tmp1;
			move32();
			tmp3_fx = sub(tmp3_fx, tmp4_fx);