Commit e7f34e21 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_BASOP_2591_EDGE_DETECT_COMP

parent 56daa0f7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -103,7 +103,6 @@
/* any switch which is non-be wrt. TS 26.251 V3.0 */

#define FIX_1576_LCLD_CRASH_DIFFERENT_CODEC_ISAR_FRAME_SIZE  /* Dolby: float issue 1576: fix for crash in LCLD mode when codec frame size is less than isar frame size */
#define FIX_BASOP_2591_EDGE_DETECT_COMP                 /* FhG: BASOP #2591: Wrong comparison in edge_detect_fx() */
#define FIX_NONBE_2580_USE_LENGTH_NOT_CONSTANT          /* Dolby: fix 2580: use dynamic length denominator for average energy in unclr_calc_corr_features_fx() */
#define FIX_BASOP_2599_TCA_OVERFLOW                     /* VA: issue 2599, Fix TCA overflow */
#define FIX_2588_MISSING_CONDITIONS                     /* VA: Proposed fix to 2588, addition of a condition in lsf_dec */
+0 −4
Original line number Diff line number Diff line
@@ -1583,11 +1583,7 @@ static void edge_detect_fx(
        set_zero_fx( edge, EDGE_MAX_LEN );

        /* set error at 0th index */
#ifdef FIX_BASOP_2591_EDGE_DETECT_COMP
        IF( GT_32( L_shr( inp[0], 3 ), inp_max ) )
#else
        IF( GT_32( L_shr( inp[0], 6 ), inp_max ) )
#endif
        {
            err0 = 0;
            move32();