summaryrefslogtreecommitdiff
path: root/tools/dcpinfo.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/dcpinfo.cc
parentb301ef78906ed61eced5d0a331b377b644ae647c (diff)
Fix crashes when static linking due to tricky lifetimecrash
management of ASDCP::DefaultSMPTEDict().
Diffstat (limited to 'tools/dcpinfo.cc')
-rw-r--r--tools/dcpinfo.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dcpinfo.cc b/tools/dcpinfo.cc
index 38e43eb1..3afff7f0 100644
--- a/tools/dcpinfo.cc
+++ b/tools/dcpinfo.cc
@@ -283,6 +283,8 @@ main_subtitle (vector<string> const& only, shared_ptr<Reel> reel, bool list_subt
int
main (int argc, char* argv[])
{
+ dcp::init ();
+
bool subtitles = false;
bool picture = false;
bool decompress = false;