diff --git a/lib_com/options.h b/lib_com/options.h index 596d127d3bd18879208c9cf525fb9eb4f70ae52c..6857f4c95f6ddf7ed7a940cc4f416c5047ef4d05 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -88,6 +88,7 @@ #define ISSUE_1866_replace_overflow_libdec /* FhG: BE - Replace BASOPoverflow operators all over the lib_dec module if Overflow result is not used */ #define NONBE_FIX_TCX5_INTERLEAVING_FOR_FS_IN_UNEQUAL_FS_OUT /* FhG: apply correct TCX5 grouping/interleaving when input_fs != output_fs */ +#define FIX_1917_DIRAC_RENDER_PTR_INCR /* FhG: fix wrong pointer increment in ivas_dirac_dec_render_sf_fx() for object rendering */ #define FIX_1824 #define FIX_1822 diff --git a/lib_dec/ivas_dirac_dec_fx.c b/lib_dec/ivas_dirac_dec_fx.c index 2516d4ebdbc29f17bb5da4069ea2e6417be0894d..1bc3d42f94121964a7df60800b576d347bd86ccd 100644 --- a/lib_dec/ivas_dirac_dec_fx.c +++ b/lib_dec/ivas_dirac_dec_fx.c @@ -3796,7 +3796,11 @@ void ivas_dirac_dec_render_sf_fx( tc_re_fx++; Cldfb_ImagBuffer_fx[j2][k][l] = Madd_32_32( Cldfb_ImagBuffer_fx[j2][k][l], g_fx, *tc_im_fx ); move32(); +#ifdef FIX_1917_DIRAC_RENDER_PTR_INCR + tc_im_fx++; +#else tc_re_fx++; +#endif } w1_fx += hSpatParamRendCom->num_freq_bands; }