Fix crashes when static linking due to tricky lifetime
[libdcp.git] / tools / dcpdecryptmxf.cc
index 34ebf436878c163fe778fde49c0cfffd38bf20c3..a29986970a33b4410b1a7ac8568c903c0365c3ed 100644 (file)
@@ -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;