diff options
Diffstat (limited to 'src/asset_reader.h')
| -rw-r--r-- | src/asset_reader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/asset_reader.h b/src/asset_reader.h index c8953e09..aa815745 100644 --- a/src/asset_reader.h +++ b/src/asset_reader.h @@ -97,7 +97,8 @@ private: explicit AssetReader (Asset const * asset, boost::optional<Key> key, Standard standard) : _crypto_context (new DecryptionContext(key, standard)) { - _reader = new R (); + Kumu::FileReaderFactory factory; + _reader = new R(factory); DCP_ASSERT (asset->file()); auto const r = _reader->OpenRead(dcp::filesystem::fix_long_path(*asset->file()).string().c_str()); if (ASDCP_FAILURE(r)) { |
