Commit 9b073bf1 authored by Arash Azizi's avatar Arash Azizi
Browse files

issue 2622: Correcting the test since the added value (0.5) was not correctly implemented.

parent f18aec1e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -891,7 +891,7 @@ void stereo_dft_enc_update_fx(
    hStereoDft->res_cod_line_max = extract_l( L_shr( tmp, sub( 31, exp ) ) );
#ifdef DEBUG_ISSUE_2622_MISS_SUM
    Word16 exp2 = 0;
    Word32 tmp2 = BASOP_Util_Add_Mant32Exp( tmp, exp, ONE_IN_Q30 >> exp, exp, &exp2 );
    Word32 tmp2 = BASOP_Util_Add_Mant32Exp( tmp, exp, ONE_IN_Q30, 0, &exp2 );
    Word16 final_res = extract_l( L_shr( tmp2, sub( 31, exp2 ) ) );
    assert( EQ_16( hStereoDft->res_cod_line_max, final_res ) );
#endif // DEBUG_ISSUE_2622_MISS_SUM