Commit 56efa7bc authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

fix incorrect threshold 0.0 instead of 0.1

parent f122e999
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1165,7 +1165,12 @@ static Word16 ivas_calculate_abs_fr_fx(

    FOR( i = 0; i < frame_len; i++ )
    {
#ifdef FIX_BASOP_2642_INCORRECT_IF_THRESHOLD
        test();
        if ( LT_32(ppFilterbank_FRs_s_fx[i], 419430) )
#else        
        if ( ppFilterbank_FRs_s_fx[i] < 0 )
#endif        
        {
            ppFilterbank_FRs_s_fx[i] = 419430; // 0.1 in Q22
            move32();
+1 −0
Original line number Diff line number Diff line
@@ -96,6 +96,7 @@
#define FIX_FLOAT_1600_OMASA_WRONG_RENDER_PATH          /* Nokia: float issue 1600: fix initialization condition of stereo type detection for OMASA */
#define FIX_BASOP_2627_PARAM_MC_ILD_REMAP_EXP           /* FhG: BASOP #2627: accumulate 10^(ILD/10) using a dynamic exponent */
#define FIX_BASOP_2635_EFAP_ADD_VERTEX_ELE_ROUND        /* FhG: BASOP #2635: round |elevation| with anint_fx before the 90deg subtraction in add_vertex_fx */
#define FIX_BASOP_2642_INCORRECT_IF_THRESHOLD           /* Dolby: BASOP #2642: incorrect threshold 0.0 used instead of 0.1 in if condition */

/* ##################### End NON-BE switches ########################### */