diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-06-25 19:26:39 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-06-25 19:26:39 +0000 |
commit | 47f42aec38ca00f49e1440254231cd25c9884671 (patch) | |
tree | bf75b7e0794fe4f52f1100de35b5d77a3f82b634 /libavformat/id3v2.c | |
parent | 57011a13d6587160a43cc1737d2ee395059c7fc9 (diff) | |
download | ffmpeg-47f42aec38ca00f49e1440254231cd25c9884671.tar.gz |
Fix id3v2.3/4 tag size parsing.
Fixes issue1106
Originally committed as revision 19275 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 9bf9f1aea6..b230f3d336 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -155,7 +155,7 @@ void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t flags) while (len >= taghdrlen) { if (isv34) { tag = get_be32(s->pb); - tlen = get_size(s->pb, 4); + tlen = get_be32(s->pb); get_be16(s->pb); /* flags */ } else { tag = get_be24(s->pb); |