Commit 6afd0f28 authored by emerit's avatar emerit
Browse files

on going fix masan renderer error

parent 88faa3e4
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -3886,7 +3886,6 @@ ivas_error IVAS_REND_Open(
        {
            return error;
        }

        if ( ( error = ivas_HRTF_parambin_binary_open( &( hIvasRend->hHrtfParambin ) ) ) != IVAS_ERR_OK )
        {
            return error;
@@ -9328,6 +9327,13 @@ void IVAS_REND_Close(
    ivas_external_orientation_close( &hIvasRend->hExternalOrientationData );
    ivas_combined_orientation_close( &hIvasRend->hCombinedOrientationData );

#ifdef FIX_BINARY_BINAURAL_READING
    ivas_HRTF_binary_close( &( hIvasRend->hHrtfTD ) );
    ivas_HRTF_CRend_binary_close( &( hIvasRend->hSetOfHRTF ) );
    ivas_HRTF_fastconv_binary_close( &( hIvasRend->hHrtfFastConv ) );
    ivas_HRTF_parambin_binary_close( &( hIvasRend->hHrtfParambin ) );
#endif

    free( hIvasRend );
    *phIvasRend = NULL;