diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-21 22:33:43 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-22 00:06:21 +0200 |
| commit | e40f5c5923d72b42d7b1c617a6e459569d584e8c (patch) | |
| tree | 4b87b267ea7e4a16f7b49464fd79d1473944fbd9 /tools/dcpdiff.cc | |
| parent | b301ef78906ed61eced5d0a331b377b644ae647c (diff) | |
Fix crashes when static linking due to tricky lifetimecrash
management of ASDCP::DefaultSMPTEDict().
Diffstat (limited to 'tools/dcpdiff.cc')
| -rw-r--r-- | tools/dcpdiff.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dcpdiff.cc b/tools/dcpdiff.cc index 976a2919..80d4b049 100644 --- 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; |
