Commit 8db9043f authored by vaclav's avatar vaclav
Browse files

fix build

parent 52b40130
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -4349,7 +4349,9 @@ static ivas_error restartDecoder(
)
{
    ivas_error error = IVAS_ERR_OK;
#ifndef FIX_FMSW_DEC
    IVAS_DEC_HANDLE hIvasDec;
#endif

    if ( phIvasDec == NULL )
    {
@@ -4369,9 +4371,9 @@ static ivas_error restartDecoder(

    arg->decMode = decMode;

#ifndef FIX_FMSW_DEC
    hIvasDec = *phIvasDec;

#ifndef FIX_FMSW_DEC
    uint16_t aeID = arg->aeSequence.count > 0 ? arg->aeSequence.pID[0] : IVAS_DEFAULT_AEID;

    IVAS_AUDIO_CONFIG outputConfig = ( decMode == IVAS_DEC_MODE_IVAS ) ? arg->outputConfig : IVAS_AUDIO_CONFIG_MONO;
@@ -4437,6 +4439,7 @@ static ivas_error restartDecoder(

cleanup:
    IVAS_DEC_Close( phIvasDec );

    return error;
}