Commit ebb22685 authored by emerit's avatar emerit
Browse files

improve code

parent 323d3c4b
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -714,7 +714,6 @@ int main(
    {
#ifndef NONBE_FIX_BINARY_BINAURAL_READING
        IVAS_DEC_HRTF_HANDLE hHrtfTD = NULL;

#endif
        if ( ( error = IVAS_DEC_GetHrtfHandle( hIvasDec, &hHrtfTD ) ) != IVAS_ERR_OK )
        {
@@ -969,11 +968,7 @@ cleanup:
        IVAS_DEC_HRTF_CREND_HANDLE hSetOfHRTF = NULL;
#endif
        IVAS_DEC_GetHrtfCRendHandle( hIvasDec, &hSetOfHRTF );
#ifdef NONBE_FIX_BINARY_BINAURAL_READING
        destroy_SetOfHRTF( hSetOfHRTF );
#else
        destroy_SetOfHRTF( hSetOfHRTF );
#endif
    }

    IVAS_DEC_Close( &hIvasDec );
+1 −1
Original line number Diff line number Diff line
@@ -887,8 +887,8 @@ int main(
            exit( -1 );
        }
    }

#endif

    if ( !isEmptyString( args.renderConfigFilePath ) )
    {
        if ( RenderConfigReader_open( args.renderConfigFilePath, &renderConfigReader ) != IVAS_ERR_OK )