diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-12-16 10:00:59 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-12-16 10:00:59 +0000 |
| commit | 332ad44023ff81ae44b15f2587f4d40e4d5ccff5 (patch) | |
| tree | d6655ea97087ded3113a3510ae6737ad403c971c /src/tools | |
| parent | e2060bab0a965e77dee7c998753a858aa38b8849 (diff) | |
Increase maximum allowable KDM file size.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_kdm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index a0d7c1cbc..a0a3a59f8 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -80,7 +80,7 @@ public: optional<dcp::EncryptedKDM> get () { try { - return dcp::EncryptedKDM (dcp::file_to_string (wx_to_std (_dialog->GetPath ()))); + return dcp::EncryptedKDM (dcp::file_to_string (wx_to_std (_dialog->GetPath ()), MAX_KDM_SIZE)); } catch (cxml::Error& e) { error_dialog (_parent, wxString::Format ("This file does not look like a KDM (%s)", std_to_wx (e.what()).data())); } |
