summaryrefslogtreecommitdiff
path: root/src/mono_picture_frame.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-31 23:10:39 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-02 00:12:56 +0100
commit809fe8c8e6f28c87f48e6629560a2b52a148a8a7 (patch)
treed2af064926ae732b7be3d82fb6fa4f4d412780e9 /src/mono_picture_frame.h
parent9e613ae8a3cd7994194d2d709f6ff9b88feac70b (diff)
Use some shared_ptr<> instead of raw pointers.
Diffstat (limited to 'src/mono_picture_frame.h')
-rw-r--r--src/mono_picture_frame.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mono_picture_frame.h b/src/mono_picture_frame.h
index 1b818144..caa279d2 100644
--- a/src/mono_picture_frame.h
+++ b/src/mono_picture_frame.h
@@ -67,7 +67,6 @@ class MonoPictureFrame : public boost::noncopyable
public:
explicit MonoPictureFrame (boost::filesystem::path path);
MonoPictureFrame (uint8_t const * data, int size);
- ~MonoPictureFrame ();
boost::shared_ptr<OpenJPEGImage> xyz_image (int reduce = 0) const;
@@ -83,7 +82,7 @@ private:
MonoPictureFrame (ASDCP::JP2K::MXFReader* reader, int n, boost::shared_ptr<DecryptionContext>);
- ASDCP::JP2K::FrameBuffer* _buffer;
+ boost::shared_ptr<ASDCP::JP2K::FrameBuffer> _buffer;
};
}