Commit 2fa134ca authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch '3gpp_issue_923_v2' into 'main'

Fix for 3GPP issue 923

See merge request !673
parents 0d4b8e9d f902cd88
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -795,7 +795,11 @@ static Word16 d_a2rc_fx(
            exp2 = sub( norm_l( temp1 ), 1 );
            temp = Mpy_32_32( L_shl( km_fx, exp1 ), L_shl( temp1, exp2 ) );
            temp_q = sub( add( add( km_q_fx, exp1 ), add( temp_q1, exp2 ) ), 31 );

            if ( temp == 0 )
            {
                temp_q = 31;
                move16();
            }
            IF( LT_16( temp_q, temp_q1 ) )
            {
                ff_fx[j] = L_add( L_shr( temp1, sub( temp_q1, temp_q ) ), temp );