Commit 9b1198ed authored by Vidhya V P's avatar Vidhya V P
Browse files

Modified the fix

parent 7a82a6bb
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -395,7 +395,6 @@ ivas_error ivas_dec(
#else
                ivas_sba_mix_matrix_determiner( st_ivas->hSpar, output, st_ivas->bfi, nchan_remapped, output_frame );
#endif

            }
            else if ( st_ivas->renderer_type != RENDERER_DISABLE )
            {
+0 −1
Original line number Diff line number Diff line
@@ -301,7 +301,6 @@ ivas_error ivas_jbm_dec_tc(
#else
                ivas_sba_mix_matrix_determiner( st_ivas->hSpar, output, st_ivas->bfi, nchan_remapped, output_frame );
#endif

            }
            else
            {
+9 −2
Original line number Diff line number Diff line
@@ -291,10 +291,17 @@ int16_t ivas_get_spar_dec_md_num_subframes(
    }

#ifdef VLBR_20MS_MD
    if ( ivas_total_brate < IVAS_24k4 && ( ivas_total_brate > IVAS_SID_5k2 && ivas_last_active_brate < IVAS_24k4 ) )
    if ( ivas_total_brate < IVAS_24k4 )
    {
        if(( ivas_total_brate <= IVAS_SID_5k2 && ivas_last_active_brate < IVAS_24k4 ) )
        {
          num_subframes = 1;
        }
        else if ( ( ivas_total_brate > IVAS_SID_5k2 && ivas_total_brate < IVAS_24k4 ) )
        {
          num_subframes = 1;
        }
    }
#endif

    return ( num_subframes );