sys_net improvements (#15584)

Also remove redundant ensures
This commit is contained in:
RipleyTom 2024-05-13 04:35:08 +02:00 committed by GitHub
parent fc92aef4d1
commit a50683d6ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 161 additions and 43 deletions

View file

@ -690,7 +690,6 @@ namespace utils
while (thread_ctrl::state() != thread_state::aborting)
{
ensure(m_context.current_track < m_context.playlist.size());
media_log.notice("audio_decoder: about to decode: %s (index=%d)", ::at32(m_context.playlist, m_context.current_track), m_context.current_track);
decode_track(::at32(m_context.playlist, m_context.current_track));