commit | 4e878f7f64d7a9f06ba076d0a2611d7f8b33d793 | [log] [tgz] |
---|---|---|
author | Chris Cunningham <chcunningham@chromium.org> | Thu Jul 21 12:01:45 2016 -0700 |
committer | Chris Cunningham <chcunningham@chromium.org> | Tue Aug 02 11:22:06 2016 -0700 |
tree | e1a15534f209afe74543266e0a294c0d82b7abe4 | |
parent | 24ea727552a0eaa95c8de72f99cba8d70ae658cb [diff] |
libavformat/matroskadec: fix unsigned overflow to improve seeking When seeking a file where codec delay is greater than 0, the timecode can become negative after offsetting by the codec delay. Failing to cast to a signed int64 will cause the check against skip_to_timecode to evaluate true for these negative values. This breaks the "skip_to" seek mechanism. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit d59820f6fec3fd112436fb7712e4f9d6d768b664)
FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.
libavcodec
provides implementation of a wider range of codecs.libavformat
implements streaming protocols, container formats and basic I/O access.libavutil
includes hashers, decompressors and miscellaneous utility functions.libavfilter
provides a mean to alter decoded Audio and Video through chain of filters.libavdevice
provides an abstraction to access capture and playback devices.libswresample
implements audio mixing and resampling routines.libswscale
implements color conversion and scaling routines.aviocat
, ismindex
and qt-faststart
.The offline documentation is available in the doc/ directory.
The online documentation is available in the main website and in the wiki.
Coding examples are available in the doc/examples directory.
FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.
Patches should be submitted to the ffmpeg-devel mailing list using git format-patch
or git send-email
. Github pull requests should be avoided because they are not part of our review process. Few developers follow pull requests so they will likely be ignored.