Commit 9541fe0c authored by vaillancour's avatar vaillancour
Browse files

adding missing FIX_1043_JBM_MD_BUFFER

parent 3766a5c2
Loading
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -835,9 +835,13 @@ ivas_error ivas_jbm_dec_tc_fx(

            ivas_omasa_rearrange_channels_fx( p_output_fx, nchan_transport_ism, output_frame );
#endif

#ifdef FIX_1043_JBM_MD_BUFFER
            IF( st_ivas->hDecoderConfig->Opt_tsm )
#endif
            {
                ivas_jbm_dec_copy_masa_meta_to_buffer( st_ivas );
            }
        }
        IF( NE_16( output_q, Q11 ) )
        {
            FOR( n = 0; n < s_max( getNumChanSynthesis( st_ivas ), nchan_transport_ism + st_ivas->nchan_transport ); n++ )
@@ -1749,8 +1753,13 @@ void ivas_jbm_dec_feed_tc_to_renderer_fx(
        IF( EQ_32( st_ivas->renderer_type, RENDERER_OMASA_MIX_EXT ) || EQ_32( st_ivas->renderer_type, RENDERER_OMASA_OBJECT_EXT ) )
        {
            ivas_jbm_dec_td_renderers_adapt_subframes( st_ivas );
#ifdef FIX_1043_JBM_MD_BUFFER
            IF ( st_ivas->hDecoderConfig->Opt_tsm )
#endif
            {
                ivas_jbm_masa_sf_to_slot_map( st_ivas, n_render_timeslots );
            }
        }
        ELSE
        {
#endif