Commit 31e89e33 authored by Vidhya V P's avatar Vidhya V P
Browse files

Resolving build warnings : set 1

parent 970b9c55
Loading
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -64,7 +64,9 @@ ivas_error ivas_sba_dec_reconfigure(
    int32_t ivas_total_brate, last_ivas_total_brate;
    DECODER_CONFIG_HANDLE hDecoderConfig;
    ivas_error error;

#ifdef SBA_BR_SWITCHING_CLEAN_UP
    int16_t band_grouping[IVAS_MAX_NUM_BANDS + 1];
#endif
    error = IVAS_ERR_OK;

    hDecoderConfig = st_ivas->hDecoderConfig;
@@ -133,9 +135,9 @@ ivas_error ivas_sba_dec_reconfigure(
        SPAR_DEC_HANDLE hSpar = st_ivas->hSpar;

        sba_order_internal = min( st_ivas->sba_analysis_order, IVAS_MAX_SBA_ORDER );
        nchan_internal = ivas_sba_get_nchan_metadata( sba_order_internal );
#ifndef SBA_BR_SWITCHING_CLEAN_UP
        
#ifndef SBA_BR_SWITCHING_CLEAN_UP
        nchan_internal = ivas_sba_get_nchan_metadata( sba_order_internal );
        if ( hSpar != NULL && nchan_transport_old != ivas_get_sba_num_TCs( ivas_total_brate, sba_order_internal ) )
        {
            // VE: dirty patch -> reconfiguration of SPAR modules should be used instead !!
@@ -376,7 +378,7 @@ ivas_error ivas_sba_dec_reconfigure(
            ivas_dirac_dec_close( st_ivas->hDirAC );
            st_ivas->hDirAC = NULL;
        }
        int16_t band_grouping[IVAS_MAX_NUM_BANDS + 1];
        

        st_ivas->hSpar->enc_param_start_band = min( IVAS_MAX_NUM_BANDS, SPAR_DIRAC_SPLIT_START_BAND );