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

One more minor modification.

parent b79e0feb
Loading
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -813,19 +813,16 @@ ivas_error ivas_dirac_dec_config(
    }

    mvs2s( DirAC_block_grouping, hDirAC->block_grouping, MAX_PARAM_SPATIAL_SUBFRAMES + 1 );
#ifdef FIX_391_SBA
    if ( flag_config == DIRAC_OPEN )
    {
        hDirAC->hConfig->dec_param_estim_old = hDirAC->hConfig->dec_param_estim;
    }
#endif

    if ( flag_config == DIRAC_OPEN )
    {
        hDirAC->dirac_md_buffer_length = 0;
        hDirAC->dirac_bs_md_write_idx = 0;
        hDirAC->dirac_read_idx = 0;
        hDirAC->spar_to_dirac_write_idx = 0;

#ifdef FIX_391_SBA
        hDirAC->hConfig->dec_param_estim_old = hDirAC->hConfig->dec_param_estim;
#endif
        if ( st_ivas->mc_mode == MC_MODE_MCMASA )
        {
            hDirAC->dirac_md_buffer_length = MAX_PARAM_SPATIAL_SUBFRAMES;