Commit 9be6e473 authored by norvell's avatar norvell
Browse files

Fix for HRTF external file rate switching, when bit rate starts below TD renderer bit rate

parent a3c49f12
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ static ivas_error ivas_ism_bitrate_switching(

            /* Open the TD Binaural renderer */
#ifdef FIX_462_HRTF_FILE_BR_SWITCH_MEM_ERR
            if ( st_ivas->hHrtfTD == NULL )
            if ( st_ivas->hHrtfTD == NULL || st_ivas->hBinRendererTd == NULL )
            {
                if ( ( error = ivas_td_binaural_open( st_ivas ) ) != IVAS_ERR_OK )
                {