Commit 1cd44221 authored by Michael Niedermayer's avatar Michael Niedermayer

Fix id3v2.2 frame size parsing.

Fixes issue1202.

Originally committed as revision 19276 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 47f42aec
......@@ -159,7 +159,7 @@ void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t flags)
get_be16(s->pb); /* flags */
} else {
tag = get_be24(s->pb);
tlen = get_size(s->pb, 3);
tlen = get_be24(s->pb);
}
len -= taghdrlen + tlen;
......
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