mad: skip ID3 frames when libid3tag is disabled

When libid3tag is disabled, the libmad decoder plugin is unable to
identify ID3 frames.  If the file starts with an (unidentified) ID3
frame, it assumes that the file is not a valid MP3 song.  This patch
solves this by adding minimal stubs for the ID3 functions.
This commit is contained in:
Max Kellermann
2009-07-22 12:57:03 +02:00
parent 0ce727d5d4
commit 322ef3cb80
2 changed files with 30 additions and 6 deletions

2
NEWS
View File

@@ -2,6 +2,8 @@ ver 0.15.2 (2009/??/??)
* tags:
- ape: check the tag size (fixes integer underflow)
- ape: added protection against large memory allocations
* decoders:
- mad: skip ID3 frames when libid3tag is disabled
ver 0.15.1 (2009/07/15)