diff --git a/lib_com/lsf_tools_fx.c b/lib_com/lsf_tools_fx.c index 143821c93806fc7ec2a7ac38f4a7d096a0fa86e8..61e9366c98fcd48d7a2e876228b1c2f86392bf72 100644 --- a/lib_com/lsf_tools_fx.c +++ b/lib_com/lsf_tools_fx.c @@ -448,13 +448,13 @@ void E_LPC_f_isp_a_conversion( const Word16 *isp, Word16 *a, const Word16 m ) /* a[i] = 0.5*(f1[i] + f2[i]) */ t0 = L_add( f1[i], f2[i] ); /* f1[i] + f2[i] */ t0 = L_shl( t0, q ); - a[i] = round_fx( t0 ); /* from Q23 to Q12 and * 0.5 */ + a[i] = round_fx_sat( t0 ); /* from Q23 to Q12 and * 0.5 */ move16(); /* a[j] = 0.5*(f1[i] - f2[i]) */ t0 = L_sub( f1[i], f2[i] ); /* f1[i] - f2[i] */ t0 = L_shl( t0, q ); - a[j] = round_fx( t0 ); /* from Q23 to Q12 and * 0.5 */ + a[j] = round_fx_sat( t0 ); /* from Q23 to Q12 and * 0.5 */ move16(); j = sub( j, 1 );