diff options
author | Mark Harris <mark.hsj@gmail.com> | 2013-12-31 11:04:54 -0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-04 22:39:07 +0100 |
commit | 262451878bab87670fba06fa6c9d798a81d39646 (patch) | |
tree | 8c969044c50b10c9109cb6d457caa39bffe71763 /configure | |
parent | 5e0c7eab2a9d43e6e3be967ec1a6b04a3e0328da (diff) | |
download | ffmpeg-262451878bab87670fba06fa6c9d798a81d39646.tar.gz |
avformat/oggparseopus: fix segmented timestamps
Fix timestamp calculation for code 3 Ogg Opus packets with less than
2 bytes in the last segment (e.g. packet length 255 or 256).
A sample that would seek incorrectly in ffplay can be created with:
ffmpeg -i in.wav -b:a 34k -vbr off -frame_duration 60 out.opus
and libopus 1.1
Also do not read past the end of the buffer when a packet has length 0.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions