id3v2: fix compiler warning for uninitialized variables
authorJean First <jeanfirst@gmail.com>
Fri, 30 Dec 2011 20:08:03 +0000 (21:08 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 31 Dec 2011 16:15:31 +0000 (17:15 +0100)
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/id3v2.c

index 9ee3271..250281c 100644 (file)
@@ -437,7 +437,7 @@ static void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t
     AVIOContext *pbx;
     unsigned char *buffer = NULL;
     int buffer_size = 0;
-    const ID3v2EMFunc *extra_func;
+    const ID3v2EMFunc *extra_func = NULL;
     unsigned char *compressed_buffer = NULL;
     int compressed_buffer_size = 0;