summaryrefslogtreecommitdiff
path: root/src/sound_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-17 20:28:24 +0200
committerCarl Hetherington <cth@carlh.net>2020-08-17 21:49:09 +0200
commit56a6b3277b7acb7fcfac97ef9667467d764ea490 (patch)
treea695d68bb0f1205a0008a3c22b9f6ee3df7e3be0 /src/sound_asset.cc
parent3e07c602fdbce92a2562980ebefb39a8df95eefe (diff)
Make use of HMAC optional.ignore-hmac
Diffstat (limited to 'src/sound_asset.cc')
-rw-r--r--src/sound_asset.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index 7f2bf5e3..2295d138 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2020 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
@@ -203,9 +203,9 @@ SoundAsset::start_write (boost::filesystem::path file, bool atmos_sync)
}
shared_ptr<SoundAssetReader>
-SoundAsset::start_read () const
+SoundAsset::start_read (bool check_hmac) const
{
- return shared_ptr<SoundAssetReader> (new SoundAssetReader (this, key(), standard()));
+ return shared_ptr<SoundAssetReader> (new SoundAssetReader (this, key(), standard(), check_hmac));
}
string