Commit 2200e004 authored by bayers's avatar bayers
Browse files

fix sanitizer problems with OSBA high bit rate binaural rendering

parent b78fe039
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -184,7 +184,7 @@
#define CR_FIX_586_BPF_DFT_MEM                          /* FhG: issue 586: set input memory of DFT analysis of BPF signal to zero for HQ core to fix issue with PLC and bitrate switching */
#define CR_FIX_ISM_DTX_INFINITE_CNG_ON_TRAILING_SILENCE /* FhG: fix for cng in ISM DTX on sudden silence periods */
#define CR_FIX_698_SBA_MSAN                             /* Dlb: issue 698: Uninitialized memory read in SBA init */
#define CR_FIX_OSBA_FLOAT_BUFFER_INIT
#define CR_FIX_OSBA_FLOAT_BUFFER_INIT                   /* FhG: */
/* ##################### End NON-BE CR switches ########################### */

/* ################## End DEVELOPMENT switches ######################### */
+7 −1
Original line number Diff line number Diff line
@@ -208,7 +208,13 @@ ivas_error ivas_osba_dirac_td_binaural(

    if ( st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV )
    {
        if ( ( error = ivas_sba_upmixer_renderer( st_ivas, &output[channel_offset], output_frame ) ) != IVAS_ERR_OK )
        if ( ( error = ivas_sba_upmixer_renderer( st_ivas,
#ifdef JBM_FOR_OSBA
                                                  output,
#else
                                                  &output[channel_offset],
#endif
                                                  output_frame ) ) != IVAS_ERR_OK )
        {
            return error;
        }