Commit e09297ec authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] incorrect check in initDecoderDummy() for external renderer

parent 5f8f40fe
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2473,7 +2473,7 @@ static DecoderDummy *initDecoderDummy(
    decDummy->hDecoderConfig->output_config = getIvasAudioConfigFromRendAudioConfig( outConfig );
    decDummy->nchan_transport = numTransChannels;

    if ( outConfig == IVAS_REND_AUDIO_CONFIG_BINAURAL_ROOM || outConfig == IVAS_REND_AUDIO_CONFIG_BINAURAL_ROOM )
    if ( getAudioConfigType( outConfig ) == IVAS_REND_AUDIO_CONFIG_TYPE_BINAURAL )
    {
        decDummy->hHeadTrackData = malloc( sizeof( HEAD_TRACK_DATA ) );
        /* Initialise Rmat_prev to I, Rmat will be computed later */