Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -63,6 +63,7 @@ #define NONBE_FIX_738_QUATERNION_SLERP_PRECISION /* Philips: issue 738: Quaternion spherical linear interpolation precision handling issues */ #define FIX_1033_MEMORY_LEAK_OMASA /* Nokia / Orange: issue #1033: Memory leak in OMASA to BINAURAL with HRTF with bitrate switching */ #define FIX_976_USAN_PVQ_ENC_DEC_EVS_CR /* Ericsson: premature cast to unsigned detected by USAN corrected */ #define FIX_1027_GSC_INT_OVERFLOW /* VA: issue 2207: overflow in GSC */ /* #################### End FIXES switches ############################ */ #define BASOP_NOGLOB /* Disable global symbols in BASOPs, Overflow/Carry in BASOPs disabled, additional BASOPs in case of Overflow */ Loading lib_dec/gs_dec.c +4 −0 Original line number Diff line number Diff line Loading @@ -640,7 +640,11 @@ void gsc_dec( } if ( concat_out[j] < 0 ) { #ifdef FIX_1027_GSC_INT_OVERFLOW seed_init = (int16_t) ( (int32_t) seed_init + 3 ); #else seed_init += 3; #endif } } Loading lib_enc/gs_enc.c +4 −0 Original line number Diff line number Diff line Loading @@ -542,7 +542,11 @@ void gsc_enc( } if ( concat_out[j] < 0 ) { #ifdef FIX_1027_GSC_INT_OVERFLOW seed_init = (int16_t) ( (int32_t) seed_init + 3 ); #else seed_init += 3; #endif } } Loading Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -63,6 +63,7 @@ #define NONBE_FIX_738_QUATERNION_SLERP_PRECISION /* Philips: issue 738: Quaternion spherical linear interpolation precision handling issues */ #define FIX_1033_MEMORY_LEAK_OMASA /* Nokia / Orange: issue #1033: Memory leak in OMASA to BINAURAL with HRTF with bitrate switching */ #define FIX_976_USAN_PVQ_ENC_DEC_EVS_CR /* Ericsson: premature cast to unsigned detected by USAN corrected */ #define FIX_1027_GSC_INT_OVERFLOW /* VA: issue 2207: overflow in GSC */ /* #################### End FIXES switches ############################ */ #define BASOP_NOGLOB /* Disable global symbols in BASOPs, Overflow/Carry in BASOPs disabled, additional BASOPs in case of Overflow */ Loading
lib_dec/gs_dec.c +4 −0 Original line number Diff line number Diff line Loading @@ -640,7 +640,11 @@ void gsc_dec( } if ( concat_out[j] < 0 ) { #ifdef FIX_1027_GSC_INT_OVERFLOW seed_init = (int16_t) ( (int32_t) seed_init + 3 ); #else seed_init += 3; #endif } } Loading
lib_enc/gs_enc.c +4 −0 Original line number Diff line number Diff line Loading @@ -542,7 +542,11 @@ void gsc_enc( } if ( concat_out[j] < 0 ) { #ifdef FIX_1027_GSC_INT_OVERFLOW seed_init = (int16_t) ( (int32_t) seed_init + 3 ); #else seed_init += 3; #endif } } Loading