Commit 16553585 authored by bayers's avatar bayers
Browse files

fix sanitizer errors

parent 0b1afa1c
Loading
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -2787,7 +2787,11 @@ void ivas_param_ism_dec_digest_tc(
            }
        }
    }
    if ( st_ivas->hDecoderConfig->Opt_tsm || !st_ivas->hDecoderConfig->Opt_5ms )
    if ( st_ivas->hDecoderConfig->Opt_tsm
#ifndef REMOVE_5MS_FLAG
         || !st_ivas->hDecoderConfig->Opt_5ms
#endif
    )
    {
        /*TODO : FhG to check*/
        ivas_ism_param_dec_tc_gain_ajust( st_ivas, output_frame, fade_len, transport_channels_f );
@@ -2800,7 +2804,11 @@ void ivas_param_ism_dec_digest_tc(
         *-----------------------------------------------------------------*/
        for ( slot_idx = 0; slot_idx < nCldfbSlots; slot_idx++ )
        {
            if ( st_ivas->hDecoderConfig->Opt_tsm || !st_ivas->hDecoderConfig->Opt_5ms )
            if ( st_ivas->hDecoderConfig->Opt_tsm
#ifndef REMOVE_5MS_FLAG
                 || !st_ivas->hDecoderConfig->Opt_5ms
#endif
            )
            {

                float RealBuffer[CLDFB_NO_CHANNELS_MAX];
+7 −0
Original line number Diff line number Diff line
@@ -551,6 +551,13 @@ ivas_error ivas_sba_dec_reconfigure(
        tc_buffer_mode = TC_BUFFER_MODE_RENDERER;
        tc_nchan_tc = ivas_jbm_dec_get_num_tc_channels( st_ivas );
        tc_nchan_to_allocate = tc_nchan_tc;
#ifdef NONBE_UNIFIED_DECODING_PATHS
        if ( st_ivas->ivas_format == SBA_ISM_FORMAT )
        {
            assert( !"Format not implemented in JBM yet!" );
        }
        else
#endif
        if ( st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_STEREO || st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_MONO )
        {
            tc_buffer_mode = TC_BUFFER_MODE_BUFFER;
+2 −1
Original line number Diff line number Diff line
@@ -1064,8 +1064,9 @@ typedef struct decoder_config_structure
#endif
#ifdef REMOVE_5MS_FLAG
    RENDER_FRAMESIZE render_framesize;
#endif
#else
    int16_t Opt_5ms;
#endif
    int16_t Opt_delay_comp; /* flag indicating delay compensation active */

} DECODER_CONFIG, *DECODER_CONFIG_HANDLE;