changeset 2954:5224d442964f libavformat

init uid to 0
author bcoudurier
date Sat, 19 Jan 2008 20:00:09 +0000
parents c498cb28447a
children b2d1cd7ab383
files mxf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxf.c	Sat Jan 19 19:59:04 2008 +0000
+++ b/mxf.c	Sat Jan 19 20:00:09 2008 +0000
@@ -922,7 +922,7 @@
         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);