diff options
author | Alexander Strasser <eclipse7@gmx.net> | 2013-08-13 18:36:21 +0200 |
---|---|---|
committer | Alexander Strasser <eclipse7@gmx.net> | 2013-08-14 22:05:41 +0200 |
commit | dc2e4c2e532b80565f5fbacd3a24a6db7567c257 (patch) | |
tree | ef633336a8a09383187118f4a2734bbb634f7360 /libavformat/matroska.h | |
parent | dabfa80ce27f1e93e3d265db9d3f38a819e144af (diff) | |
download | ffmpeg-dc2e4c2e532b80565f5fbacd3a24a6db7567c257.tar.gz |
lavf/wavdec: Fix seeking in files with unaligned offsets
A file with a prepended ID3 tag of an uneven length was found
in the wild.
Check if the wav data starts at an uneven offset and use that
information to correct the seeking calculation in wav_seek_tag,
which used to only seek to even byte positions.
Regression since ac87eaf856e0fb51917266b899bb15d19b907baf
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Diffstat (limited to 'libavformat/matroska.h')
0 files changed, 0 insertions, 0 deletions