summaryrefslogtreecommitdiff
path: root/src/mxf.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-01 23:53:06 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-01 23:53:06 +0100
commita68b877d96a9e9f366f27752e071bc0e895e9dc7 (patch)
tree11a32d1efd6abf182b03ce22f1f1fe84258bb7de /src/mxf.cc
parentf9cba324c8160a70b108d9e5b60a4ccad6ee9be2 (diff)
Add Reader classes to permit much more efficient DCP reading.
Diffstat (limited to 'src/mxf.cc')
-rw-r--r--src/mxf.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mxf.cc b/src/mxf.cc
index f902212e..67e63283 100644
--- a/src/mxf.cc
+++ b/src/mxf.cc
@@ -44,17 +44,6 @@ using boost::shared_ptr;
using boost::dynamic_pointer_cast;
using namespace dcp;
-MXF::MXF ()
- : _decryption_context (0)
-{
-
-}
-
-MXF::~MXF ()
-{
- delete _decryption_context;
-}
-
void
MXF::fill_writer_info (ASDCP::WriterInfo* writer_info, string id, Standard standard) const
{
@@ -97,11 +86,6 @@ MXF::set_key (Key key)
/* No key ID so far; we now need one */
_key_id = make_uuid ();
}
-
- _decryption_context = new ASDCP::AESDecContext;
- if (ASDCP_FAILURE (_decryption_context->InitKey (_key->value ()))) {
- throw MiscError ("could not set up decryption context");
- }
}
string