diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-06-25 19:44:44 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-06-25 19:44:44 +0000 |
commit | 1cd44221634f2ca8a10b8851f7cd0f4efff1fb3e (patch) | |
tree | d1c792a0bbd22f59ac9a24a09df854b935fe6b59 /libavformat/id3v2.c | |
parent | 47f42aec38ca00f49e1440254231cd25c9884671 (diff) | |
download | ffmpeg-1cd44221634f2ca8a10b8851f7cd0f4efff1fb3e.tar.gz |
Fix id3v2.2 frame size parsing.
Fixes issue1202.
Originally committed as revision 19276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/id3v2.c')
-rw-r--r-- | libavformat/id3v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index b230f3d336..9a2463808e 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -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; |