changeset 5072:c54f27786f9b libavformat

Fix id3v2.3/4 tag size parsing. Fixes issue1106
author michael
date Thu, 25 Jun 2009 19:26:39 +0000
parents b2aa396484d4
children 2216af3795e1
files id3v2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/id3v2.c	Thu Jun 25 19:10:27 2009 +0000
+++ b/id3v2.c	Thu Jun 25 19:26:39 2009 +0000
@@ -155,7 +155,7 @@
     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);