Commit 9da320eb authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_879_USAN_ERROR_IN_MASA_DECODING

parent 8c120d7d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -150,7 +150,6 @@
/*#define FIX_I4_OL_PITCH*/                             /* fix open-loop pitch used for EVS core switching */
/*#define SPLIT_REND_WITH_HEAD_ROT  */                  /* Dlb,FhG: Split Rendering contributions 21 and 35 */

#define FIX_879_USAN_ERROR_IN_MASA_DECODING             /* FhG: Issue 879 : avoid arithmetic with NULL pointer in the DirAC decoder to fix USAN error */
#define FIX_740_MASA_PREREND_VALIDITY_CHECK             /* Nokia: issue 740: fix incorrect validity check in lib_rend to allow use of MASA prerenderer */
#define FIX_865_MOVE_TD_DECORR                          /* VA: issue 865: Move ivas_td_decorr.c from lib_com to lib_rend */
#define FIX_888_INTERFACE_UNIFICATION                   /* Nokia: issue #888: fix mismatch in 2D array size */
+0 −4
Original line number Diff line number Diff line
@@ -1810,11 +1810,7 @@ void ivas_dirac_dec_render_sf(
    DirAC_mem = hDirACRend->stack_mem;

    reference_power = DirAC_mem.reference_power;
#ifdef FIX_879_USAN_ERROR_IN_MASA_DECODING
    reference_power_smooth = ( DirAC_mem.reference_power == NULL ) ? NULL : DirAC_mem.reference_power + hSpatParamRendCom->num_freq_bands;
#else
    reference_power_smooth = DirAC_mem.reference_power + hSpatParamRendCom->num_freq_bands;
#endif
    onset_filter = DirAC_mem.onset_filter;
    onset_filter_subframe = ( DirAC_mem.onset_filter == NULL ) ? NULL : DirAC_mem.onset_filter + hSpatParamRendCom->num_freq_bands;