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

Michael Niedermayer michaelni
Wed Feb 10 01:00:53 CET 2010


On Tue, Feb 09, 2010 at 11:10:06PM +0100, Andreas ?man wrote:
> Hi
>
> 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
>
>
>
>

>  mp3.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 46f4ffdc1267d6aa4db3d31575365d9e950c97e1  mp3.diff

probably ok if tested

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100210/a3a19da6/attachment.pgp>



More information about the ffmpeg-devel mailing list