summaryrefslogtreecommitdiff
path: root/src/AS_DCP.h
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2020-07-06 08:22:03 -0700
committerjhurst <jhurst@cinecert.com>2020-07-06 08:22:03 -0700
commitf421cbb767e0437458332200e3f8537064feaaa8 (patch)
treee7a53012d45461876839fdc480aee939ab6d8cb1 /src/AS_DCP.h
parente9910a8e3314e8a4664f5998a8e508f706509c9c (diff)
parentdc74dc00c2f225344f14c39969bd6b66664b4fd4 (diff)
Merge branch 'master' into iab-labels
Diffstat (limited to 'src/AS_DCP.h')
-rwxr-xr-xsrc/AS_DCP.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AS_DCP.h b/src/AS_DCP.h
index 44e60be..f089f06 100755
--- a/src/AS_DCP.h
+++ b/src/AS_DCP.h
@@ -1456,7 +1456,7 @@ namespace ASDCP {
byte_t ResourceID[UUIDlen];
MIMEType_t Type;
- TimedTextResourceDescriptor() : Type(MT_BIN) {}
+ TimedTextResourceDescriptor() : Type(MT_BIN) { memset(ResourceID, 0, UUIDlen); }
};
typedef std::list<TimedTextResourceDescriptor> ResourceList_t;
@@ -1470,7 +1470,7 @@ namespace ASDCP {
std::string EncodingName;
ResourceList_t ResourceList;
- TimedTextDescriptor() : ContainerDuration(0), EncodingName("UTF-8") {} // D-Cinema format is always UTF-8
+ TimedTextDescriptor() : ContainerDuration(0), EncodingName("UTF-8") { memset(AssetID, 0, UUIDlen); } // D-Cinema format is always UTF-8
};
// Print debugging information to std::ostream