Commit 2f43d139 authored by norvell's avatar norvell
Browse files

Added initialization of {Left,Right}Filter{,Incr}_p in TDREND_SFX_SpatBin_Initialize

parent d1c0b756
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -155,6 +155,7 @@
#define FIX_WRONG_NBANDS_IN_ITD_ESTIMATION              /* Issue 85: fix incorrect setting of nbands in calc_mean_E_ratio() if bwidth is limited on commandline*/

#define FIX_I87                                         /*  fix for issue 86: incorrect Ambisonics order set for head rotation in SBA */
#define FIX_I81                                         /* Fix for issue 81: Initialize HR filter pointers */

/* ################## End DEVELOPMENT switches ######################### */
/* clang-format on */
+6 −0
Original line number Diff line number Diff line
@@ -1208,6 +1208,12 @@ ivas_error TDREND_SFX_SpatBin_Initialize(
    SfxSpatBin_p->TurningOnEffect = FALSE;
    /* Init during next SetParams-call */
    SfxSpatBin_p->InitializeParams = TRUE;
#ifdef FIX_I81
    SfxSpatBin_p->LeftFilter_p = NULL;
    SfxSpatBin_p->LeftFilterIncr_p = NULL;
    SfxSpatBin_p->RightFilter_p = NULL;
    SfxSpatBin_p->RightFilterIncr_p = NULL;
#endif

    /* Init MaxTargetTime and MaxBlockLength */
    switch ( output_Fs )