From e40f5c5923d72b42d7b1c617a6e459569d584e8c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 21 Sep 2020 22:33:43 +0200 Subject: Fix crashes when static linking due to tricky lifetime management of ASDCP::DefaultSMPTEDict(). --- tools/dcpdecryptmxf.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/dcpdecryptmxf.cc') 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 output_file; optional kdm_file; optional private_key_file; -- cgit v1.2.3