Add option to ignore mismatched HMACs when reading MXFs.
[libdcp.git] / src / sound_frame.cc
index 9c8087c2bce23d26827557edf6d1aa9e4935ee33..25845d88332e0d02c73d1772fdeaecffc8f755b3 100644 (file)
@@ -46,8 +46,8 @@ using std::cout;
 using namespace dcp;
 
 
-SoundFrame::SoundFrame (ASDCP::PCM::MXFReader* reader, int n, std::shared_ptr<const DecryptionContext> c)
-       : Frame<ASDCP::PCM::MXFReader, ASDCP::PCM::FrameBuffer> (reader, n, c)
+SoundFrame::SoundFrame (ASDCP::PCM::MXFReader* reader, int n, std::shared_ptr<const DecryptionContext> c, bool check_hmac)
+       : Frame<ASDCP::PCM::MXFReader, ASDCP::PCM::FrameBuffer> (reader, n, c, check_hmac)
 {
        ASDCP::PCM::AudioDescriptor desc;
        reader->FillAudioDescriptor (desc);