Commit c2e3a916 authored by vaillancour's avatar vaillancour
Browse files

adding missing FIX_1043_JBM_MD_BUFFER

parent dfc4d36f
Loading
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -214,7 +214,11 @@ ivas_error ivas_jbm_dec_tc(
                return error;
            }

#ifdef FIX_1043_JBM_MD_BUFFER
            if ( output_config == IVAS_AUDIO_CONFIG_EXTERNAL && st_ivas->hDecoderConfig->Opt_tsm )
#else
            if ( output_config == IVAS_AUDIO_CONFIG_EXTERNAL )
#endif
            {
                ivas_jbm_dec_copy_masa_meta_to_buffer( st_ivas );
            }
@@ -911,8 +915,14 @@ void ivas_jbm_dec_feed_tc_to_renderer(
        if ( st_ivas->renderer_type == RENDERER_OMASA_MIX_EXT || 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