Fix crashes when static linking due to tricky lifetime
[libdcp.git] / tools / dcprecover.cc
index caf0e0fe753fca1e49067a1236c44bd2efac7cb0..65240ae85227a918fbb0194e501d3e36305e61b2 100644 (file)
@@ -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) {