#162: Big ID3 tags can generate audio glitches
-----------------------+----------------------------------------------------
Reporter: toots | Owner:
Type: Bugs | Status: new
Priority: 1 | Milestone:
Component: ocaml-mad | Version: 0.3.8+svn
Keywords: | Mac: 1
Linux: 1 | Netbsd: 1
Other: 1 | Freebsd: 1
-----------------------+----------------------------------------------------
Matej Nastran has some issues with some of his files that contains big ID3
tag information, mainly because of included images.
The issue can be reproduced very simply by playing one of his files with
liquidsoap.
Reading the ID3 specs [http://www.id3.org/id3v2.4.0-structure] it is very
simple to skip the ID3 tag in ocaml-mad before decoding the file.
If the file starts with "ID3" then the length of the tag is contained in
bytes 7-10, hence a fseek can position the file descriptor just after the
tag.
The attached patch implements this, please let me know what you think
about it.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/162>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac