Bv2.1 8.3.2: text tracks must have <EntryPoint> and it must be zero.
[libdcp.git] / src / asset_reader.h
index dbd2761b0798d68b0f17e36bc05db3dfec79cf93..d1e0f10e8faacf9e35ed2952a7d9e08c6b2d5c05 100644 (file)
@@ -39,7 +39,7 @@
 #include "crypto_context.h"
 #include <asdcp/AS_DCP.h>
 #include <boost/noncopyable.hpp>
-#include <boost/shared_ptr.hpp>
+#include <memory>
 
 namespace dcp {
 
@@ -64,14 +64,18 @@ public:
                delete _reader;
        }
 
-       boost::shared_ptr<const F> get_frame (int n) const
+       std::shared_ptr<const F> get_frame (int n) const
        {
-               return boost::shared_ptr<const F> (new F (_reader, n, _crypto_context));
+               return std::shared_ptr<const F> (new F (_reader, n, _crypto_context));
+       }
+
+       R* reader () const {
+               return _reader;
        }
 
 protected:
        R* _reader;
-       boost::shared_ptr<DecryptionContext> _crypto_context;
+       std::shared_ptr<DecryptionContext> _crypto_context;
 };
 
 }