summaryrefslogtreecommitdiff
path: root/tools/dcprecover.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/dcprecover.cc
parentb301ef78906ed61eced5d0a331b377b644ae647c (diff)
Fix crashes when static linking due to tricky lifetimecrash
management of ASDCP::DefaultSMPTEDict().
Diffstat (limited to 'tools/dcprecover.cc')
-rw-r--r--tools/dcprecover.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dcprecover.cc b/tools/dcprecover.cc
index caf0e0fe..65240ae8 100644
--- a/tools/dcprecover.cc
+++ b/tools/dcprecover.cc
@@ -65,6 +65,8 @@ void progress (float f)
int
main (int argc, char* argv[])
{
+ dcp::init ();
+
int option_index = 0;
optional<boost::filesystem::path> output;
while (true) {