OSDN Git Service

id3v2: Initialize tflags for version 2.2.
authorAlex Converse <alex.converse@gmail.com>
Thu, 26 May 2011 00:03:12 +0000 (17:03 -0700)
committerAlex Converse <alex.converse@gmail.com>
Thu, 26 May 2011 20:16:03 +0000 (13:16 -0700)
libavformat/id3v2.c

index 4fecffe..948261a 100644 (file)
@@ -220,7 +220,7 @@ static void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t
         avio_skip(s->pb, get_size(s->pb, 4));
 
     while (len >= taghdrlen) {
-        unsigned int tflags;
+        unsigned int tflags = 0;
         int tunsync = 0;
 
         if (isv34) {