summaryrefslogtreecommitdiff
path: root/src/lib
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/lib
parente2060bab0a965e77dee7c998753a858aa38b8849 (diff)
Increase maximum allowable KDM file size.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h
index 5e1780d72..e163e1a8f 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -50,6 +50,8 @@ namespace dcp {
#define HISTORY_SIZE 10
#define REPORT_PROBLEM _("Please report this problem by using Help -> Report a problem or via email to carl@dcpomatic.com")
#define TEXT_FONT_ID "font"
+/** Largest KDM size (in bytes) that will be accepted */
+#define MAX_KDM_SIZE (256 * 1024)
extern std::string program_name;