summaryrefslogtreecommitdiff
path: root/src/sound_frame.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-07 01:14:30 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-07 01:14:30 +0100
commit973bbb7a8b6290b4f4ee06e7ba7e199254525ca2 (patch)
tree217609cf30209eba25b7159f93ffa0dd0bedf61c /src/sound_frame.cc
parent6b3a021409b55e0b5988a0bb993020f6c0e66276 (diff)
Missing audio asset decryption.
Diffstat (limited to 'src/sound_frame.cc')
-rw-r--r--src/sound_frame.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound_frame.cc b/src/sound_frame.cc
index c2a10564..77f4c7a8 100644
--- a/src/sound_frame.cc
+++ b/src/sound_frame.cc
@@ -25,7 +25,7 @@
using namespace std;
using namespace libdcp;
-SoundFrame::SoundFrame (string mxf_path, int n)
+SoundFrame::SoundFrame (string mxf_path, int n, ASDCP::AESDecContext* c)
{
ASDCP::PCM::MXFReader reader;
if (ASDCP_FAILURE (reader.OpenRead (mxf_path.c_str()))) {
@@ -35,7 +35,7 @@ SoundFrame::SoundFrame (string mxf_path, int n)
/* XXX: unfortunate guesswork on this buffer size */
_buffer = new ASDCP::PCM::FrameBuffer (1 * Kumu::Megabyte);
- if (ASDCP_FAILURE (reader.ReadFrame (n, *_buffer))) {
+ if (ASDCP_FAILURE (reader.ReadFrame (n, *_buffer, c))) {
boost::throw_exception (DCPReadError ("could not read audio frame"));
}
}