Commit bee11a90 authored by vaclav's avatar vaclav
Browse files

formal improvements

parent 922c7f21
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -4112,16 +4112,22 @@ static ivas_error findFreeInputSlot(
}

#ifdef SPLIT_REND_WITH_HEAD_ROT
static void closeSplitRend( SPLIT_REND_WRAPPER *pSplitRendWrapper, IVAS_REND_AudioBuffer *pSplitRendEncBuffer )
static void closeSplitRend(
    SPLIT_REND_WRAPPER *pSplitRendWrapper,
    IVAS_REND_AudioBuffer *pSplitRendEncBuffer )
{
    ivas_split_renderer_close( pSplitRendWrapper );

    if ( pSplitRendEncBuffer->data != NULL )
    {
        free( pSplitRendEncBuffer->data );
        pSplitRendEncBuffer->data = NULL;
    }

    pSplitRendEncBuffer->config.numChannels = 0;
    pSplitRendEncBuffer->config.numSamplesPerChannel = 0;

    return;
}
#endif