projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix crashes when static linking due to tricky lifetime
[libdcp.git]
/
tools
/
dcpdiff.cc
diff --git
a/tools/dcpdiff.cc
b/tools/dcpdiff.cc
index 976a29193b31f60ce30fb102c9ebf82d173d604b..80d4b049bed4032ba88389540db4a690a685e607 100644
(file)
--- a/
tools/dcpdiff.cc
+++ b/
tools/dcpdiff.cc
@@
-119,6
+119,8
@@
load_dcp (boost::filesystem::path path, bool ignore_missing_assets, optional<str
int
main (int argc, char* argv[])
{
+ dcp::init ();
+
EqualityOptions options;
options.max_mean_pixel_error = 5;
options.max_std_dev_pixel_error = 5;