diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-17 20:28:24 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-08-17 21:49:09 +0200 |
| commit | 56a6b3277b7acb7fcfac97ef9667467d764ea490 (patch) | |
| tree | a695d68bb0f1205a0008a3c22b9f6ee3df7e3be0 /src/sound_asset.cc | |
| parent | 3e07c602fdbce92a2562980ebefb39a8df95eefe (diff) | |
Make use of HMAC optional.ignore-hmac
Diffstat (limited to 'src/sound_asset.cc')
| -rw-r--r-- | src/sound_asset.cc | 6 |
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 |
