Commit 76e48645 authored by Baptiste Coudurier's avatar Baptiste Coudurier

init uid to 0

Originally committed as revision 11573 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e20c865a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment