mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

Adjusted logic to accurately calculate sizes and durations for the last valid cue point when cue timestamps are greater than the total duration. Fixes the issue where the reported duration of the MKV file was greater than the total duration specified by the duration element. Verified this using `mkvinfo` and `mediainfo` tools. PiperOrigin-RevId: 690961276