decoder/mad: properly calculate ID3 size without libid3tag

Without libid3tag, we were trying to skip the ID3 frame (since
0.15.2).  Its length however was not calculated at all, we were just
dropping everything from the current input buffer.  This lead to the
first few seconds of the file being skipped.  This patch attempts to
calculate the ID3v2 frame size with the formula from:

 http://www.id3.org/id3v2.4.0-structure 3.1 and 6.2
This commit is contained in:
Max Kellermann
2010-04-13 07:51:29 +02:00
parent 0dcd865c2e
commit a1a03deed2
2 changed files with 27 additions and 5 deletions

2
NEWS
View File

@@ -1,4 +1,6 @@
ver 0.15.10 (2010/??/??)
* decoders:
- mad: properly calculate ID3 size without libid3tag
ver 0.15.9 (2010/03/21)