[FFmpeg-devel] [PATCH] Correctly skip over ID3v2 tags we can not handle

Andreas Öman andreas
Tue Feb 9 23:10:06 CET 2010


When lavf encounter an MP3 file with an ID3v2 header that it can not
parse, the ID3v1 parser will kick in and reset the file position to 0.
This effectively results in that any VBR tags can not be found.

The code should just remember the filepos before doing ID3v1 stuff.

Attached patch fixes that

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp3.diff
Type: text/x-patch
Size: 514 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100209/e76fb7c0/attachment.bin>

More information about the ffmpeg-devel mailing list