Commit ff6e5347 authored by vaclav's avatar vaclav
Browse files

Merge branch 'fix_ivas_destroy_handle_isar_position' into 'ivas-float-update'

fix position of ivas_destroy_handle_isar()

See merge request !2570
parents 37b04cb2 54cdf904
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -352,11 +352,11 @@ void IVAS_DEC_Close(
        ( *phIvasDec )->hVoIP = NULL;
    }

    if ( ( *phIvasDec )->st_ivas )
    {
        /* destroy Split binaural renderer (ISAR) handle */
        ivas_destroy_handle_isar( &( *phIvasDec )->st_ivas->hSplitBinRend );

    if ( ( *phIvasDec )->st_ivas )
    {
        ivas_destroy_dec( ( *phIvasDec )->st_ivas );
        ( *phIvasDec )->st_ivas = NULL;
    }
@@ -5361,11 +5361,11 @@ static void ivas_destroy_handle_isar(
        {
            free( ( *hSplitBinRend )->hCldfbDataOut );
            ( *hSplitBinRend )->hCldfbDataOut = NULL;
        }

        free( ( *hSplitBinRend ) );
        ( *hSplitBinRend ) = NULL;
    }
    }

    return;
}