summaryrefslogtreecommitdiff
path: root/src/asset_writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/asset_writer.h')
-rw-r--r--src/asset_writer.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/asset_writer.h b/src/asset_writer.h
index 80ce82b8..814405d4 100644
--- a/src/asset_writer.h
+++ b/src/asset_writer.h
@@ -41,14 +41,10 @@
#include "types.h"
#include <boost/filesystem.hpp>
-namespace ASDCP {
- class AESEncContext;
- class HMACContext;
-}
-
namespace dcp {
class MXF;
+class EncryptionContext;
/** @class AssetWriter
* @brief Parent class for classes which can write MXF-based assets.
@@ -59,7 +55,7 @@ class MXF;
class AssetWriter : public boost::noncopyable
{
public:
- virtual ~AssetWriter ();
+ virtual ~AssetWriter () {}
virtual bool finalize ();
int64_t frames_written () const {
@@ -81,8 +77,7 @@ protected:
bool _finalized;
/** true if something has been written to this asset */
bool _started;
- ASDCP::AESEncContext* _encryption_context;
- ASDCP::HMACContext* _hmac_context;
+ boost::shared_ptr<EncryptionContext> _encryption_context;
};
}