[FFmpeg-cvslog] r19275 - trunk/libavformat/id3v2.c

michael subversion
Thu Jun 25 21:26:39 CEST 2009


Author: michael
Date: Thu Jun 25 21:26:39 2009
New Revision: 19275

Log:
Fix id3v2.3/4 tag size parsing.
Fixes issue1106

Modified:
   trunk/libavformat/id3v2.c

Modified: trunk/libavformat/id3v2.c
==============================================================================
--- trunk/libavformat/id3v2.c	Thu Jun 25 21:10:27 2009	(r19274)
+++ trunk/libavformat/id3v2.c	Thu Jun 25 21:26:39 2009	(r19275)
@@ -155,7 +155,7 @@ void ff_id3v2_parse(AVFormatContext *s, 
     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);



More information about the ffmpeg-cvslog mailing list