Commit 8006da63 authored by Lauros Pajunen's avatar Lauros Pajunen
Browse files

Port float MR2282

parent ec36366c
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -412,11 +412,17 @@ void IVAS_DEC_Close(
        ( *phIvasDec )->hVoIP = NULL;
    }

#ifndef IVAS_RTPDUMP
    /* destroy Split binaural renderer (ISAR) handle */
    ivas_destroy_handle_isar( &( *phIvasDec )->st_ivas->hSplitBinRend );
#endif

    IF( ( *phIvasDec )->st_ivas )
    {
#ifdef IVAS_RTPDUMP
        /* destroy Split binaural renderer (ISAR) handle */
        ivas_destroy_handle_isar( &( *phIvasDec )->st_ivas->hSplitBinRend );
#endif
        ivas_destroy_dec_fx( ( *phIvasDec )->st_ivas );
        ( *phIvasDec )->st_ivas = NULL;
    }