]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Fix id3v2.2 frame size parsing.
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 25 Jun 2009 19:44:44 +0000 (19:44 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 25 Jun 2009 19:44:44 +0000 (19:44 +0000)
Fixes issue1202.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19276 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/id3v2.c

index b230f3d33617aaf104a4fefc3e0efa82e03d9188..9a2463808e491cfa4ec1f262f57b4c55d65e175e 100644 (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;