[FFmpeg-devel] [PATCH 06/11] id3v2: fix compiler warning for uninitialized variables
Jean First
jeanfirst at gmail.com
Fri Dec 30 21:08:03 CET 2011
Signed-off-by: Jean First <jeanfirst at gmail.com>
---
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;
--
1.7.7.3
More information about the ffmpeg-devel
mailing list