Commit ca335175 authored by Rivukanta Bhattacharya's avatar Rivukanta Bhattacharya
Browse files

Added check for SBA format

parent 23dae7a7
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -556,7 +556,7 @@ void ivas_td_decorr_bitrate_check(
    Decoder_Struct *st_ivas         /* i/o  : IVAS decoder structure                  */
)
{
    if ( ( output_config == AUDIO_CONFIG_MONO || output_config == AUDIO_CONFIG_STEREO ) || ( ivas_total_brate >= IVAS_256k && output_config == AUDIO_CONFIG_FOA ) )
    if ( ( st_ivas->ivas_format == SBA_FORMAT ) && ( ( output_config == AUDIO_CONFIG_MONO || output_config == AUDIO_CONFIG_STEREO ) || ( ivas_total_brate >= IVAS_256k && output_config == AUDIO_CONFIG_FOA ) ) )
    {
        st_ivas->td_decorr_flag = 1;
    }