summaryrefslogtreecommitdiff
path: root/tools/dcpdecryptmxf.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-21 22:33:43 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-22 00:06:21 +0200
commite40f5c5923d72b42d7b1c617a6e459569d584e8c (patch)
tree4b87b267ea7e4a16f7b49464fd79d1473944fbd9 /tools/dcpdecryptmxf.cc
parentb301ef78906ed61eced5d0a331b377b644ae647c (diff)
Fix crashes when static linking due to tricky lifetimecrash
management of ASDCP::DefaultSMPTEDict().
Diffstat (limited to 'tools/dcpdecryptmxf.cc')
-rw-r--r--tools/dcpdecryptmxf.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dcpdecryptmxf.cc b/tools/dcpdecryptmxf.cc
index 34ebf436..a2998697 100644
--- a/tools/dcpdecryptmxf.cc
+++ b/tools/dcpdecryptmxf.cc
@@ -66,6 +66,8 @@ help (string n)
int
main (int argc, char* argv[])
{
+ dcp::init ();
+
optional<boost::filesystem::path> output_file;
optional<boost::filesystem::path> kdm_file;
optional<boost::filesystem::path> private_key_file;