summaryrefslogtreecommitdiff
path: root/src/sound_frame.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-06-04 14:37:43 +0200
committerCarl Hetherington <cth@carlh.net>2021-06-04 14:37:43 +0200
commita5bd2e9eeecccb1a64aa7f3ae936698fce78bea5 (patch)
tree34136bd6b8dc487d578ded06da9d223424da910a /src/sound_frame.h
parente8c71ec28755e77bd6851b9ffd698794d214208a (diff)
Add option to ignore mismatched HMACs when reading MXFs.
Diffstat (limited to 'src/sound_frame.h')
-rw-r--r--src/sound_frame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_frame.h b/src/sound_frame.h
index 85082299..0f5021e2 100644
--- a/src/sound_frame.h
+++ b/src/sound_frame.h
@@ -51,7 +51,7 @@ namespace dcp {
class SoundFrame : public Frame<ASDCP::PCM::MXFReader, ASDCP::PCM::FrameBuffer>
{
public:
- SoundFrame (ASDCP::PCM::MXFReader* reader, int n, std::shared_ptr<const DecryptionContext> c);
+ SoundFrame (ASDCP::PCM::MXFReader* reader, int n, std::shared_ptr<const DecryptionContext> c, bool check_hmac);
int channels () const;
int samples () const;
int32_t get (int channel, int sample) const;