Commit b1786afa authored by Vidhya V P's avatar Vidhya V P
Browse files

Few more minor clean-up done

parent 2ffc67a7
Loading
Loading
Loading
Loading
Loading
+2 −30
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ ivas_error ivas_sba_dec_reconfigure(
    int16_t sba_dirac_stereo_flag_old;
    int32_t ivas_total_brate;
    int32_t last_ivas_total_brate;

#ifdef VLBR_20MS_MD
    int16_t num_channels, num_md_sub_frames;
    int16_t i, j, k;
@@ -204,38 +205,8 @@ ivas_error ivas_sba_dec_reconfigure(
                    for ( k = 0; k < IVAS_MAX_NUM_BANDS; k++ )
                    {
                        st_ivas->hSpar->hMdDec->spar_coeffs_prev.C_re[i][j][k] = 0;
                    }
                }
            }

            for ( i = 0; i < num_channels; i++ )
            {
                for ( j = 0; j < num_channels; j++ )
                {
                    for ( k = 0; k < IVAS_MAX_NUM_BANDS; k++ )
                    {
                        st_ivas->hSpar->hMdDec->spar_coeffs_prev.P_re[i][j][k] = 0;
                    }
                }
            }

            for ( i = 0; i < num_channels; i++ )
            {
                for ( j = 0; j < num_channels; j++ )
                {
                    for ( k = 0; k < IVAS_MAX_NUM_BANDS; k++ )
                    {
                        st_ivas->hSpar->hMdDec->spar_coeffs_tar.C_re[i][j][k] = 0;
                    }
                }
            }

            for ( i = 0; i < num_channels; i++ )
            {
                for ( j = 0; j < num_channels; j++ )
                {
                    for ( k = 0; k < IVAS_MAX_NUM_BANDS; k++ )
                    {
                        st_ivas->hSpar->hMdDec->spar_coeffs_tar.P_re[i][j][k] = 0;
                    }
                }
@@ -251,6 +222,7 @@ ivas_error ivas_sba_dec_reconfigure(
            return error;
        }
    }

    hSpar = st_ivas->hSpar;
    st_ivas->sba_dirac_stereo_flag = ivas_get_sba_dirac_stereo_flag( st_ivas );