Commit 0a47701f authored by Adam Mills's avatar Adam Mills
Browse files

Fixing some conditional statements in dirac and spar

parent 8da2e15a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ ivas_error ivas_dirac_config(

        if ( hQMetaData != NULL )
        {
            if ( enc_dec == ENC || ( ivas_format != SBA_FORMAT && ivas_format != SBA_ISM_FORMAT ) )
            if ( enc_dec == ENC  )
            {
                hConfig->nbands = hQMetaData->q_direction[0].cfg.nbands;
            }
+3 −7
Original line number Diff line number Diff line
@@ -886,9 +886,6 @@ static void ivas_calc_post_pred_per_band(
    float temp_mat[IVAS_SPAR_MAX_CH][IVAS_SPAR_MAX_CH];
    float tmp_re;

    // NOTE: What is this doing?
    if ( num_dmx != num_ch )
    {
    for ( i = 0; i < num_ch; i++ )
    {
        for ( j = 0; j < num_ch; j++ )
@@ -896,7 +893,6 @@ static void ivas_calc_post_pred_per_band(
            dmx_mat_conj[i][j] = mixer_mat[j][i][band_idx];
        }
    }
    }

    for ( i = 0; i < num_ch; i++ )
    {