summaryrefslogtreecommitdiff
path: root/src/atmos_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-20 23:21:25 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-22 15:18:55 +0100
commitcb4759c178e3229796e8139f3f21a230532a7499 (patch)
tree7f830bb20a41a24ec0bc85e1775569dbc98402aa /src/atmos_asset.cc
parentd27d0f88a526cfe55e6018f9f32d54d5b61fc634 (diff)
Bump asdcplib to dcpomatic-2.13.0 branch.v1.9.4
Diffstat (limited to 'src/atmos_asset.cc')
-rw-r--r--src/atmos_asset.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/atmos_asset.cc b/src/atmos_asset.cc
index 42a0774e..09a22c1e 100644
--- a/src/atmos_asset.cc
+++ b/src/atmos_asset.cc
@@ -42,6 +42,7 @@
#include "atmos_asset_writer.h"
#include "exceptions.h"
#include <asdcp/AS_DCP.h>
+#include <asdcp/KM_fileio.h>
using std::string;
@@ -67,7 +68,8 @@ AtmosAsset::AtmosAsset (boost::filesystem::path file)
: Asset (file)
, MXF (Standard::SMPTE)
{
- ASDCP::ATMOS::MXFReader reader;
+ Kumu::FileReaderFactory factory;
+ ASDCP::ATMOS::MXFReader reader(factory);
auto r = reader.OpenRead(dcp::filesystem::fix_long_path(file).string().c_str());
if (ASDCP_FAILURE (r)) {
boost::throw_exception (MXFFileError("could not open MXF file for reading", file.string(), r));