From 76e4864583be6fd03c72a54f1cad42b543922c82 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Sat, 19 Jan 2008 20:00:09 +0000 Subject: init uid to 0 Originally committed as revision 11573 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mxf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/mxf.c') diff --git a/libavformat/mxf.c b/libavformat/mxf.c index 553b1cf1ba..a1906b9b7c 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -922,7 +922,7 @@ static int mxf_read_local_tags(MXFContext *mxf, KLVPacket *klv, int (*read_child int tag = get_be16(pb); int size = get_be16(pb); /* KLV specified by 0x53 */ uint64_t next = url_ftell(pb) + size; - UID uid; + UID uid = {0}; if (!size) { /* ignore empty tag, needed for some files with empty UMID tag */ av_log(mxf->fc, AV_LOG_ERROR, "local tag 0x%04X with 0 size\n", tag); -- cgit v1.2.3