[FFmpeg-cvslog] id3v2: fix compiler warning for uninitialized variables

Jean First git at videolan.org
Sat Dec 31 17:17:34 CET 2011


ffmpeg | branch: master | Jean First <jeanfirst at gmail.com> | Fri Dec 30 21:08:03 2011 +0100| [acc88f07d49fdc650eff880806a9f8387a9abbbf] | committer: Michael Niedermayer

id3v2: fix compiler warning for uninitialized variables

Signed-off-by: Jean First <jeanfirst at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=acc88f07d49fdc650eff880806a9f8387a9abbbf
---

 libavformat/id3v2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 9ee3271..250281c 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -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;
 



More information about the ffmpeg-cvslog mailing list