summaryrefslogtreecommitdiff
path: root/libavformat/mxf.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-01-19 20:00:09 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-01-19 20:00:09 +0000
commit76e4864583be6fd03c72a54f1cad42b543922c82 (patch)
tree775ea1c7112fe48d9c05834464560d08fdeae774 /libavformat/mxf.c
parente20c865a5580ddd9b07298631199a4ccc9c33408 (diff)
init uid to 0
Originally committed as revision 11573 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mxf.c')
-rw-r--r--libavformat/mxf.c2
1 files changed, 1 insertions, 1 deletions
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);