diff options
| author | John Hurst <jhurst@cinecert.com> | 2020-06-01 07:41:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-01 07:41:27 -0700 |
| commit | 71bf4453be636cab5a0dddca3949a5b6725ec4d6 (patch) | |
| tree | 66b7a1761cb0dba1545fff5137b5362d4d29b468 /src | |
| parent | 7b70b206a3bd767aad3a9a3c789cff9d0e9c38f2 (diff) | |
| parent | cd997f403aab47193b1f6c6a6ee9e820851a086d (diff) | |
Merge pull request #42 from broganross/master
ResourceID and AssetID not zeroed
Diffstat (limited to 'src')
| -rwxr-xr-x | src/AS_DCP.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AS_DCP.h b/src/AS_DCP.h index 74991f6..f39c9c8 100755 --- a/src/AS_DCP.h +++ b/src/AS_DCP.h @@ -1455,7 +1455,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; @@ -1469,7 +1469,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 |
