diff options
author | Matthieu Bouron <matthieu.bouron@gmail.com> | 2013-01-19 13:32:58 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-20 04:39:56 +0100 |
commit | b3b456b2588f67a152f3035cbc80d349898534c1 (patch) | |
tree | 967354689b70ea3dada1f7089839a80bd0dc8ea5 /libavcodec/ppc | |
parent | 0c6b0409af070a3bfb02b55fde8ba18219edc76b (diff) | |
download | ffmpeg-b3b456b2588f67a152f3035cbc80d349898534c1.tar.gz |
lavf/id3v2: seek back to previous offset if header size is not matched
Makes ff_id3v2_read reset stream position at the end of ID3 data if the
header size is not matched (caused by an EOF for example).
Current behaviour (without the patch):
filesize = 400
id3 data size = 399
file offset after ff_id3v2_read is 400 instead of 399
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ppc')
0 files changed, 0 insertions, 0 deletions