Fix crashes when static linking due to tricky lifetime
[libdcp.git] / tools / dcpdumpsub.cc
index d9f11b478e7ab7da2e75e8d57eb9bc16ff134f8a..6f0c5f6f3c53c0be01c8866e67b849d8d324ac0c 100644 (file)
@@ -61,6 +61,8 @@ help (string n)
 int
 main (int argc, char* argv[])
 {
+       dcp::init ();
+
        bool extract_fonts = true;
        optional<boost::filesystem::path> kdm_file;
        optional<boost::filesystem::path> private_key_file;