Commit afa29a47 authored by Fabian Bauer's avatar Fabian Bauer
Browse files

replaced some shr_o by shr_sat

parent c3b58b68
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -449,7 +449,11 @@ void coder_acelp_rf_fx(
                Ltmp = L_add_o( Ltmp, Ltmp2, &Overflow );                                                                     /* Q15 + Q_xn */
                hRF->rf_mem_w0 = sub_o( xn[L_SUBFR - 1], round_fx_o( L_shl_o( Ltmp, 1, &Overflow ), &Overflow ), &Overflow ); /* Q_xn */
                move16();
#ifdef ISSUE_1772_replace_shr_o
                hRF->rf_mem_w0 = shr_sat( hRF->rf_mem_w0, shift, &Overflow ); /*Qnew-1*/
#else
                hRF->rf_mem_w0 = shr_o( hRF->rf_mem_w0, shift, &Overflow ); /*Qnew-1*/
#endif


                /*-------------------------------------------------------*