projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bad frees if exceptions are thrown by constructors.
[libdcp.git]
/
src
/
picture_frame.h
diff --git
a/src/picture_frame.h
b/src/picture_frame.h
index 42c5d629c688820896ff695579307d86b0896f38..1c17e50b14a5752e9528ef29eacbedfbf65b14c6 100644
(file)
--- a/
src/picture_frame.h
+++ b/
src/picture_frame.h
@@
-27,6
+27,7
@@
namespace ASDCP {
class FrameBuffer;
class SFrameBuffer;
}
class FrameBuffer;
class SFrameBuffer;
}
+ class AESDecContext;
}
namespace libdcp {
}
namespace libdcp {
@@
-37,7
+38,7
@@
class ARGBFrame;
class MonoPictureFrame
{
public:
class MonoPictureFrame
{
public:
- MonoPictureFrame (std::string mxf_path, int n);
+ MonoPictureFrame (std::string mxf_path, int n
, ASDCP::AESDecContext *
);
~MonoPictureFrame ();
boost::shared_ptr<ARGBFrame> argb_frame (int reduce = 0, float srgb_gamma = 2.4) const;
~MonoPictureFrame ();
boost::shared_ptr<ARGBFrame> argb_frame (int reduce = 0, float srgb_gamma = 2.4) const;