commit | a24967090b7cd33b7a7cf707a70d6117ad2b0360 | [log] [tgz] |
---|---|---|
author | Dale Curtis <dalecurtis@chromium.org> | Tue Feb 05 01:15:50 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 05 01:15:50 2019 |
tree | c723c0653298b43ce0a79de6be188a53c3180d2f | |
parent | 3d1ab8e35740abfa53ee3dc3d87ebbb61196aaa1 [diff] |
FFmpegDemuxer: Disallow kInfiniteDuration as a packet timestamp. We already disallow kNoTimestamp which is int64::min(), we should do the same for kInfiniteDuration which is int64::max() which now has several base::Time restrictions on using it in calculations. Those restrictions have rightly pointed out cases where we're subtracting two values which should be "infinite" -- which is incorrect. BUG=928026 Change-Id: I113802f5e775d342e1b37cea167d22f499ff2c11 Reviewed-on: https://chromium-review.googlesource.com/c/1453105 Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Dan Sanders <sandersd@chromium.org> Auto-Submit: Dale Curtis <dalecurtis@chromium.org> Reviewed-by: Dan Sanders <sandersd@chromium.org> Cr-Commit-Position: refs/heads/master@{#628977}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .