summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-12-16 10:00:59 +0000
committerCarl Hetherington <cth@carlh.net>2016-12-16 10:00:59 +0000
commit332ad44023ff81ae44b15f2587f4d40e4d5ccff5 (patch)
treed6655ea97087ded3113a3510ae6737ad403c971c /src/tools
parente2060bab0a965e77dee7c998753a858aa38b8849 (diff)
Increase maximum allowable KDM file size.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_kdm.cc2
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()));
}