Loading apps/decoder.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 ) Loading lib_dec/lib_dec.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 ) Loading Loading
apps/decoder.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 ) Loading
lib_dec/lib_dec.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 ) Loading