Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent wrapping in resetMainLoaderReplaceSegments
This fixes a regression introduced in 4590bdd If the quality is changed during initialization, this function is called. Since `buffered.length` is zero and `buffered` is a `TimeRanges`, `length` (an `unsigned long`) wraps around and becomes 4294967295
- Loading branch information