From 791e68abfcde03982105896505c91863b7795c5e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 16 Sep 2024 16:13:45 +0200 Subject: Increase allowable size of Interop XML files. --- src/interop_subtitle_asset.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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("DCSubtitle"); xml->read_file(dcp::filesystem::fix_long_path(file)); -- cgit v1.2.3