Commit 29208e80 authored by vaclav's avatar vaclav
Browse files

fix

parent 37e2b518
Loading
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -805,7 +805,16 @@ void ivas_jbm_dec_feed_tc_to_renderer(
        p_data_f[n] = &data_f[n][0];
    }

#ifdef FIX_1101_CLEANING_JBM_CALL
    if ( !st_ivas->hDecoderConfig->Opt_tsm )
    {
        for ( n = 0; n < ivas_get_nchan_buffers_dec( st_ivas, st_ivas->sba_analysis_order, st_ivas->hDecoderConfig->ivas_total_brate ); n++ )
        {
            st_ivas->hTcBuffer->tc[n] = st_ivas->p_output_f[n]; /* note: buffers needed in the TD decorellator */
        }
    }

#endif
    if ( st_ivas->hDecoderConfig->Opt_tsm )
    {
        ivas_jbm_dec_copy_tc( st_ivas, nSamplesForRendering, nSamplesResidual, data, p_data_f );