Commit 3f3a1e90 authored by premathasara's avatar premathasara
Browse files

Tiny bug fix and editorial change which should be BE

parent f018c908
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2131,7 +2131,7 @@ void ivas_spar_set_bitrate_config(

    ivas_total_brate = ivas_spar_br_table_consts[table_idx].ivas_total_brate;
    sba_order = ivas_spar_br_table_consts[table_idx].sba_order;
    ivas_get_spar_table_idx( ivas_total_brate, sba_order, ivas_spar_br_table_consts[table_idx].bwidth, &code, &length );
    ivas_get_spar_table_idx( ivas_total_brate, sba_order, ivas_spar_br_table_consts[table_idx].bwidth, &length, &code );

    for ( i = 0; i < pSpar_md_cfg->nchan_transport; i++ )
    {
+5 −12
Original line number Diff line number Diff line
@@ -601,27 +601,20 @@ ivas_error ivas_spar_md_enc_process(
            for ( j = 0; j < nchan_inp; j++ )
            {
                cov_real[i][j] = cov_dtx_real[i][j];
                for ( k = num_bands_bw; k < IVAS_MAX_NUM_BANDS; k++ )
                {
                    cov_real[i][j][k] = 0;
                }
            }
        }
    }
    else
    {

    for ( i = 0; i < nchan_inp; i++ )
    {
        for ( j = 0; j < nchan_inp; j++ )
        {
                cov_real[i][j] = cov_real[i][j];
            for ( k = num_bands_bw; k < IVAS_MAX_NUM_BANDS; k++ )
            {
                cov_real[i][j][k] = 0;
            }
        }
    }
    }

    if ( hEncoderConfig->ivas_total_brate == BRATE_SPAR_Q_STRAT && sba_order == 1 )
    {