Commit 512e5928 authored by michael's avatar michael

id3v2.4.0 uses syncsafe integers for sizes of frames.

Fixes issue1234
Fixes regression introduced in r19275


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19291 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1e15ad73
......@@ -155,7 +155,10 @@ void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t flags)
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment