Commit 8038a1f7 authored by bayers's avatar bayers
Browse files

fix #841, set TD HRFT handle in the main decoder struct zero in MC rate switching

parent 8e40fa16
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@
#define NONBE_FIX_730_DPID_NOT_SET_CORRECTLY                  /* Eri: issue 730: write dpid read from file in correct index, print informative error message when DPID specified is not found. */
#define NONBE_FIX_825_SBA_JBM_MONO_STEREO_OUTPUT              /* FhG: issue #825: Resolve "JBM SBA: AGC and PCA run twice for MONO and STEREO output"   */
#define NONBE_FIX_808_JBM_PARAMUPMIX_RS                       /* FhG: Issue 808: fix JBM MC rate switching */

#define NONBE_FIX_841_MC_RS_TDOBJ_RENDERER                    /* FhG: Issue #841: [Non-BE] Resolve "MC RS HRFT handle not set to NULL" */
/* ##################### End NON-BE switches ########################### */

/* ################## End DEVELOPMENT switches ######################### */
+3 −0
Original line number Diff line number Diff line
@@ -1218,6 +1218,9 @@ static ivas_error ivas_mc_dec_reconfig(
            if ( st_ivas->hBinRendererTd != NULL && ( st_ivas->renderer_type != RENDERER_BINAURAL_OBJECTS_TD ) )
            {
                ivas_td_binaural_close( &st_ivas->hBinRendererTd );
#ifdef NONBE_FIX_841_MC_RS_TDOBJ_RENDERER
                st_ivas->hHrtfTD = NULL;
#endif
            }

#ifdef SPLIT_REND_WITH_HEAD_ROT_PARAMBIN