diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-14 23:59:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-14 23:59:16 +0100 |
| commit | 9486066c29b91a8d9ac25be1c596cad62387208f (patch) | |
| tree | 181a41967df7a2ccd41ab8ed14d6c99171850bdc /src/asset_reader.h | |
| parent | 563dbf02e9c7ab0066bcebbcde6c662df845695a (diff) | |
Support reading of encrypted subtitles.
Diffstat (limited to 'src/asset_reader.h')
| -rw-r--r-- | src/asset_reader.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/asset_reader.h b/src/asset_reader.h index 716e854d..09169a8e 100644 --- a/src/asset_reader.h +++ b/src/asset_reader.h @@ -35,23 +35,21 @@ #define LIBDCP_ASSET_READER_H #include <boost/noncopyable.hpp> - -namespace ASDCP { - class AESDecContext; -} +#include <boost/shared_ptr.hpp> namespace dcp { class MXF; +class DecryptionContext; class AssetReader : public boost::noncopyable { public: explicit AssetReader (MXF const * mxf); - virtual ~AssetReader (); + virtual ~AssetReader () {} protected: - ASDCP::AESDecContext* _decryption_context; + boost::shared_ptr<DecryptionContext> _decryption_context; }; } |
