Commit fc817cf1 authored by vaclav's avatar vaclav Committed by emerit
Browse files

accept NON_BE_FIX_EVS_USAN_ERR_IN_WAVEADJUST

parent f8da4f69
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -167,7 +167,6 @@
/* all switches in this category should start with "NONBE_" */


#define NON_BE_FIX_EVS_USAN_ERR_IN_WAVEADJUST           /* FhG: address issue 1037 */
#define NON_BE_1055_RESET_LP_MEMORIES                   /* VA: issue 1055: Correctly reset LP filter MA and AR memories in bitrate switching */
#define NONBE_FIX_1058_DECODER_ERROR_WITH_REVERB_ROOM   /* FhG: issue 1058: do not initialize EFAP when IntSetup is HOA3 */
#define NONBE_FIX_1056_ISM_RATE_SWITCH                  /* FhG: Fix #1056: fix TC buffer udpate on a ISM rate switch */	
+0 −4
Original line number Diff line number Diff line
@@ -742,13 +742,9 @@ void concealment_decode(
            /* sign randomization */
            for ( i = 0; i < hPlcInfo->L_frameTCX; i++ )
            {
#ifdef NON_BE_FIX_EVS_USAN_ERR_IN_WAVEADJUST
                int16_t rnd;
                rnd = own_random( seed );
                sign = ( rnd >= 0 ) - ( rnd < 0 );
#else
                sign = ( ( own_random( seed ) >> 15 ) << 1 ) + 1;
#endif
                invkoef[i] *= sign;
            }
        }