Commit 149cfbaa authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch '3gpp_issue_1509_fix' into 'main'

Fix for 3GPP issue 1509: BASOP decoder asserts in...

See merge request !1477
parents 641c78fa 1917992d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2351,7 +2351,7 @@ static Word32 ncross_corr_self_fx(
    q_prod = sub( 81, add( add( headroom_left_x, headroom_left_y ), q_prod ) );
    energy = Sqrt32( energy, &q_prod );

    IF( LT_32( energy, L_shl_sat( 1, sub( 31, q_prod ) ) ) )
    IF( LE_32( energy, L_shl_sat( 1, sub( 31, q_prod ) ) ) )
    {
        c_c_fx_return = W_shl_sat_l( c_c_fx, 31 - ( 2 * OUTPUT_Q + 1 ) ); // Q31
    }