Commit 1adf8e1a authored by vaclav's avatar vaclav
Browse files

removal of unnecessary temporary parameter

parent 0c2086b5
Loading
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -4011,15 +4011,17 @@ ivas_error IVAS_DEC_VoIP_GetSamples(
            {
                if ( hIvasDec->nSamplesAvailableNext == 0 || hIvasDec->nSamplesAvailableNext == hIvasDec->nSamplesFrame )
                {
#ifndef LIB_DEC_REVISION
                    uint16_t nSamplesFlushed_ref = hIvasDec->nSamplesFlushed;

#endif
                    if ( ( error = IVAS_DEC_GetSamplesDecoder( hIvasDec, 0, NULL ) ) != IVAS_ERR_OK )
                    {
                        return error;
                    }

#ifndef LIB_DEC_REVISION
                    hIvasDec->nSamplesFlushed = nSamplesFlushed_ref;

#endif
                    *bitstreamReadDone = false;
                    *parametersAvailableForEditing = true;
                    return IVAS_ERR_OK;