mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-17 16:26:39 +03:00
7ee124c2c1
The usage of SegmentIndex in tests was correct, but the latest Closure Compiler is more strict about nullability. We need to add assertions and refactor to avoid nullable numbers where a non-nullable number is required. We also need to add assertions for the nullability of Stream.segmentIndex after createSegmentIndex() is called. This was caught by a compiler upgrade. Issue #2528 Change-Id: I5615ffa27b878f86739d507f993c2b66ae8eb61a