Mercurial > libavformat.hg
changeset 5076:e07fb352a12c libavformat
id3v2.4.0 uses syncsafe integers for sizes of frames.
Fixes issue1234
Fixes regression introduced in r19275
author | michael |
---|---|
date | Mon, 29 Jun 2009 18:36:49 +0000 |
parents | 9a49ff4cdb6e |
children | 696b27c2791a |
files | id3v2.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/id3v2.c Sun Jun 28 21:05:46 2009 +0000 +++ b/id3v2.c Mon Jun 29 18:36:49 2009 +0000 @@ -155,7 +155,10 @@ while (len >= taghdrlen) { if (isv34) { tag = get_be32(s->pb); + if(version==3){ tlen = get_be32(s->pb); + }else + tlen = get_size(s->pb, 4); get_be16(s->pb); /* flags */ } else { tag = get_be24(s->pb);