Commit 1917992d authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

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

Fix for 3GPP issue 1509: BASOP decoder asserts in ivas_dirac_dec_binaural_determine_processing_matrices_fx with OMASA rate switching bitstream from BASOP encoder

Link #1509
parent 8b975f14
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
    }