summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-16 16:13:45 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-16 16:13:45 +0200
commit791e68abfcde03982105896505c91863b7795c5e (patch)
tree4fa04c5971b5475740eaffaa8fc94e7240cbf065
parentf7ea43ef73b03fd875866bdc8a068a64997ae7d2 (diff)
Increase allowable size of Interop XML files.v1.8.108
-rw-r--r--src/interop_subtitle_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interop_subtitle_asset.cc b/src/interop_subtitle_asset.cc
index 32c3f66a..253a0498 100644
--- a/src/interop_subtitle_asset.cc
+++ b/src/interop_subtitle_asset.cc
@@ -73,7 +73,7 @@ using namespace dcp;
InteropSubtitleAsset::InteropSubtitleAsset (boost::filesystem::path file)
: SubtitleAsset (file)
{
- _raw_xml = dcp::file_to_string (file);
+ _raw_xml = dcp::file_to_string(file, 10 * 1024 * 1024);
auto xml = make_shared<cxml::Document>("DCSubtitle");
xml->read_file(dcp::filesystem::fix_long_path(file));