diff --git a/lib_com/options.h b/lib_com/options.h index 4fd97b2d45f7c8d9c559d9b18e697255dd4615e8..a0c7f4f3f1d68281475c6ac5f56b54abcfdf0d08 100755 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -130,7 +130,8 @@ #define NONBE_FIX_947_STEREO_DMX_EVS_PHA /* Orange: Fix issues on PHA */ #ifdef NONBE_FIX_947_STEREO_DMX_EVS_PHA #define NONBE_FIX_947_STEREO_DMX_FADOPT /* Orange: Fading optimisation */ -#endif +#endif +#define FIX_1003_PARAMISM_BINAURAL_RECONFIG_USAN /* FhG: fix for #1003: fix USAN caused by ParamISM reconfig */ /* #################### End BASOP porting switches ############################ */ diff --git a/lib_dec/ivas_ism_dec_fx.c b/lib_dec/ivas_ism_dec_fx.c index 18c6953f282aaab2cb794776bdea986e0c5aafe9..a4294558efce18b1b524f4c29b8a3afb79742811 100644 --- a/lib_dec/ivas_ism_dec_fx.c +++ b/lib_dec/ivas_ism_dec_fx.c @@ -369,6 +369,7 @@ static ivas_error ivas_ism_bitrate_switching_dec_fx( tc_nchan_full_new = tc_nchan_tc_new; move16(); +#ifndef FIX_1003_PARAMISM_BINAURAL_RECONFIG_USAN test(); test(); IF( EQ_32( st_ivas->renderer_type, RENDERER_BINAURAL_PARAMETRIC ) || EQ_32( st_ivas->renderer_type, RENDERER_BINAURAL_PARAMETRIC_ROOM ) || EQ_32( st_ivas->renderer_type, RENDERER_STEREO_PARAMETRIC ) ) @@ -379,6 +380,7 @@ static ivas_error ivas_ism_bitrate_switching_dec_fx( move16(); } +#endif test(); test(); test();