Fix crashes when static linking due to tricky lifetime
[libdcp.git] / tools / dcpinfo.cc
index 38e43eb1425229b47e2fb0730b457b3e35deb7dd..3afff7f093c5f66e64589d23999630c27208119e 100644 (file)
@@ -283,6 +283,8 @@ main_subtitle (vector<string> const& only, shared_ptr<Reel> reel, bool list_subt
 int
 main (int argc, char* argv[])
 {
+       dcp::init ();
+
        bool subtitles = false;
        bool picture = false;
        bool decompress = false;