mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-28 05:47:39 +00:00
All functions that set videoIndex return `-1` if the list is empty, so we don’t have to check manually for that case. I’m somewhat more questioning why `StreamInfoTag.of` allows the index to be out-of-bounds in the constructor, that should be an error.