Commit fd907f2e authored by multrus's avatar multrus
Browse files

[cleanup] accept NONBE_1118_EVS_LR_HQ_BITERROR

parent 5366f51e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -90,7 +90,6 @@

#define FIX_1129_EXT_REND_OUTPUT_HIGH                   /* Philips: issue 1129: External renderer BINAURAL_ROOM_REVERB format output level too high compared to internal rendering output */
#define NONBE_1360_LFE_DELAY                            /* Dlb: LFE delay alignment when rendering in CLDFB domain*/
#define NONBE_1118_EVS_LR_HQ_BITERROR                   /* VA: issue 1118: fix EVS decoder crash in LR-HQ in case of bit errors */
#define FIX_1139_REV_COLORATION_SHORT_T60               /* Nokia,FhG: Fix issue 1139, prevent sound coloration artefacts at very low reverberation times */

#define NONBE_1328_FIX_NON_LINEARITY                    /* VA: Fix possible issue when computing bwe_exc_extended and previous frame were almost 0, float issue 1328  */
+0 −4
Original line number Diff line number Diff line
@@ -630,7 +630,6 @@ void hq_lr_dec_fx(
            IF( GE_16( i, highband ) )
            {

#ifdef NONBE_1118_EVS_LR_HQ_BITERROR
                /* safety check in case of bit errors */
                IF( GT_32( Ep_fx[i], 536788991 /* max(Q30) */ ) )
                {
@@ -640,12 +639,10 @@ void hq_lr_dec_fx(
                    return;
                }

#endif
                enerH_fx = L_add_sat( enerH_fx, L_shl_sat( Ep_fx[i], 2 ) ); /*Q0 */
            }
            ELSE IF( GE_16( i, lowband ) )
            {
#ifdef NONBE_1118_EVS_LR_HQ_BITERROR
                /* safety check in case of bit errors */
                IF( GT_32( Ep_fx[i], 536788991 /* max(Q30) */ ) )
                {
@@ -655,7 +652,6 @@ void hq_lr_dec_fx(
                    return;
                }

#endif
                enerL_fx = L_add_sat( enerL_fx, L_shl_sat( Ep_fx[i], 2 ) ); /*Q0 */
            }
        }