Commit ef0e5899 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix arguments to ivas_get_nchan_buffers_dec when NONBE_FIX_798_OSBA_MC_DEC_CRASH is disabled

parent ae367d5b
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -421,7 +421,7 @@ ivas_error ivas_omasa_dec_config(
#ifdef NONBE_FIX_798_OSBA_MC_DEC_CRASH
            nchan_out_buff = ivas_get_nchan_buffers_dec( st_ivas, st_ivas->sba_analysis_order, st_ivas->hDecoderConfig->ivas_total_brate );
#else
            nchan_out_buff = ivas_get_nchan_buffers_dec( st_ivas, st_ivas->sba_analysis_order, st_ivas->hDecoderConfig->ivas_total_brate );
            nchan_out_buff = ivas_get_nchan_buffers_dec( st_ivas );
#endif

            if ( nchan_out_buff > nchan_out_buff_old )
+1 −1
Original line number Diff line number Diff line
@@ -585,7 +585,7 @@ ivas_error ivas_sba_dec_reconfigure(
#ifdef NONBE_FIX_798_OSBA_MC_DEC_CRASH
        nchan_out_buff = ivas_get_nchan_buffers_dec( st_ivas, st_ivas->sba_analysis_order, st_ivas->hDecoderConfig->ivas_total_brate );
#else
        nchan_out_buff = ivas_get_nchan_buffers_dec( st_ivas, st_ivas->sba_analysis_order, st_ivas->hDecoderConfig->ivas_total_brate );
        nchan_out_buff = ivas_get_nchan_buffers_dec( st_ivas );
#endif

        if ( nchan_out_buff > nchan_out_buff_old )