Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,7 @@ /* any switch which is non-be wrt selection floating point code */ /* all switches in this category should start with "NONBE_" */ #define NON_BE_FIX_EVS_USAN_ERR_IN_WAVEADJUST /* FhG: address issue 1037 */ /* ##################### End NON-BE switches ########################### */ Loading lib_dec/waveadjust_fec_dec.c +6 −0 Original line number Diff line number Diff line Loading @@ -742,7 +742,13 @@ 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; } } Loading Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,7 @@ /* any switch which is non-be wrt selection floating point code */ /* all switches in this category should start with "NONBE_" */ #define NON_BE_FIX_EVS_USAN_ERR_IN_WAVEADJUST /* FhG: address issue 1037 */ /* ##################### End NON-BE switches ########################### */ Loading
lib_dec/waveadjust_fec_dec.c +6 −0 Original line number Diff line number Diff line Loading @@ -742,7 +742,13 @@ 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; } } Loading