[media] Check for overflow in TrackRunIterator::cts().
This CL moves the CTS computation to AdvanceSample(), which now returns a bool. Callers have been updated to fail when AdvanceSample() fails. Bug: 772874 Change-Id: I1215f6a259eff310b964e1899be4e4138ff34087 Reviewed-on: https://chromium-review.googlesource.com/722164Reviewed-by:Matthew Wolenetz <wolenetz@chromium.org> Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org> Commit-Queue: Dan Sanders <sandersd@chromium.org> Cr-Commit-Position: refs/heads/master@{#509664}
Showing
Please register or sign in to comment