Fix id3v2.2 frame size parsing.

Fixes issue1202.

Originally committed as revision 19276 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2009-06-25 19:44:44 +00:00
parent 47f42aec38
commit 1cd4422163
1 changed files with 1 additions and 1 deletions

View File

@ -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;