X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Futil.h;h=e163e1a8f2feebcc4fed9e883967426bff890e95;hb=332ad44023ff81ae44b15f2587f4d40e4d5ccff5;hp=5e1780d727acc495d5f902b627e3ee840dd5670c;hpb=00b60f52add041a36fa62118baf4b5ac78993980;p=dcpomatic.git 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;