Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: SIGABRT while seeking when file has negative start time.
Subtracting a negative start time from INT64_MAX results in an integer overflow. A negative start time can arise when a file has been cut from a longer video file and reference frames prior to the cut point need to be included in order to correctly decode the subsequent frames. Thanks to: Joan Bruguera Mico <[email protected]> Resolves: node/2296 (Seek doesn't work with negative start time) git-svn-id: svn://svn.daper.net/moc/trunk@2996 910807d9-36e0-0310-a014-e9ea483e2ba4
- Loading branch information