mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
342d35f4f9
Various issues with the nullability of number types led to various fixes, including: - defaulting a nullable number to 0 to avoid propagating a null value through calculations - adding an assertion or runtime check that something is not null - moving an existing null check to before the calculation - returning early on null during an iteration - changing a nullable number to non-nullable - defaulting to NaN instead of null These issues were caught by a compiler upgrade. Issue #2528 Change-Id: I86d516c74a42ee3624c33d7513d2d4c76d3ea589