summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/interop_text_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interop_text_asset.cc b/src/interop_text_asset.cc
index e9d94bc8..01e0f89a 100644
--- a/src/interop_text_asset.cc
+++ b/src/interop_text_asset.cc
@@ -73,7 +73,7 @@ using namespace dcp;
InteropTextAsset::InteropTextAsset(boost::filesystem::path file)
: TextAsset(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));