Commit 0be4d091 authored by Jan Kiene's avatar Jan Kiene
Browse files

apply formatting patch

parent b23adcfa
Loading
Loading
Loading
Loading
Loading
+205 −208
Original line number Diff line number Diff line
@@ -1062,12 +1062,10 @@ ivas_error IVAS_DEC_GetSamples(
    {
        /* check if we need to run the setup function */
        test();
        IF( !hIvasDec->isInitialized || hIvasDec->hasBeenFedFrame )
        {
        IF( !hIvasDec->isInitialized || hIvasDec->hasBeenFedFrame ){
            /* setup */

            IF( NE_32( ( error = IVAS_DEC_Setup( hIvasDec, &l_ts, &nTransportChannels, &nOutChannels, &nSamplesRendered_loop, pcmBuf + imult3216( nSamplesRendered, nOutChannels ) ) ), IVAS_ERR_OK ) )
            {
            IF( NE_32( ( error = IVAS_DEC_Setup( hIvasDec, &l_ts, &nTransportChannels, &nOutChannels, &nSamplesRendered_loop, pcmBuf + imult3216( nSamplesRendered, nOutChannels ) ) ), IVAS_ERR_OK ) ){
                return error;
    }
}
@@ -2791,8 +2789,7 @@ ivas_error IVAS_DEC_VoIP_GetSamples(
            dbgwrite( &maxScaling, sizeof( uint32_t ), 1, 1, "./res/JBM_maxScale.dat" );
#endif
            /* avoid time scaling multiple times in one sound card slot */
            IF( NE_64( scale, 100U ) )
            {
            IF( NE_64( scale, 100U ) ){
#ifdef NONBE_FIX_864_JBM_RENDER_FRAMESIZE
                IF( hIvasDec->timeScalingDone )
#else