Commit a00b1c61 authored by vaclav's avatar vaclav
Browse files

accept FIX_MSAN_USAN_ERROR_JBM

parent 6850185d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -148,9 +148,7 @@
/* only BE switches wrt selection floating point code */

/*#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_MSAN_USAN_ERROR_JBM                         /* Dlb: Resolve MSAN and USAN errors in the SBA-JBM test case added*/

#define FIX_818_DOUBLE_PREC_KERNEL_SW                   /* FhG: Issue 818: Avoid double precision in kernel switching */
#define FIX_822_REFACTOR_BIN_REVERB_OPEN                /* Nokia: Addresses first step of issue 822 by refactoring ivas_binaural_reverb_open */
+1 −4
Original line number Diff line number Diff line
@@ -1613,11 +1613,8 @@ void ivas_spar_param_to_masa_param_mapping(
    for ( slot_idx = 0; slot_idx < hSpar->subframe_nbslots[subframe]; slot_idx++ )
    {
        sf = hSpar->render_to_md_map[slot_idx + slot_idx_start] / JBM_CLDFB_SLOTS_IN_SUBFRAME;
#ifndef FIX_MSAN_USAN_ERROR_JBM
        if ( subframe < SPAR_META_DELAY_SUBFRAMES )
#else

        if ( ( sf < SPAR_META_DELAY_SUBFRAMES ) )
#endif
        {
            mixer_mat_index = sf + MAX_PARAM_SPATIAL_SUBFRAMES - SPAR_META_DELAY_SUBFRAMES + 1;
            for ( band = 0; band < SPAR_DIRAC_SPLIT_START_BAND; band++ )
+1 −4
Original line number Diff line number Diff line
@@ -205,11 +205,8 @@ int16_t JB4_JMF_PushPacket(
        h->lastRtpTimeStamp = rtpTimeStamp;
        return 0;
    }
#ifndef FIX_MSAN_USAN_ERROR_JBM
    rtpTimeDiff = rtpTimeStamp - h->lastRtpTimeStamp;
#else

    rtpTimeDiff = (int32_t) ( rtpTimeStamp - h->lastRtpTimeStamp );
#endif
    sysTimeDiff = sysTime - h->lastSysTime;
    offset = sysTime - rtpTimeStamp;