Commit c03c7ff3 authored by vaclav's avatar vaclav
Browse files

fix (that caused EVS JBM non-BE)

parent dc0c2d28
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2548,7 +2548,7 @@ static ivas_error decodeG192(
                }

#ifdef MEM_ALLOC_APP_DEC
                /* setup ISAR */
                /* Setup ISAR handle */
                if ( isSplitRend )
                {
                    if ( ( error = IVAS_DEC_split_rend_setup( hIvasDec, splitRendBits ) ) != IVAS_ERR_OK )
+1 −1
Original line number Diff line number Diff line
@@ -3083,7 +3083,7 @@ ivas_error IVAS_DEC_GetSamples_wrapper(
    nOutChannels = hIvasDec->st_ivas->hDecoderConfig->nchan_out;
    nSamplesToRender = nSamplesAsked - nSamplesRendered_pre;

    if ( hIvasDec->hasBeenFedFirstGoodFrame )
    if ( hIvasDec->hasBeenFedFirstGoodFrame && hIvasDec->hasBeenFedFrame )
    {
        /* render IVAS frames directly to the output buffer */
        if ( ( error = IVAS_DEC_GetSamples( hIvasDec, nSamplesToRender, pcmType, pcm_buffer_offset( pcmBuf, pcmType, nSamplesRendered_pre * nOutChannels ), &nSamplesRendered_loop, &tmp, 1 ) ) != IVAS_ERR_OK )