Fix crashes on x-thread signal emission.
[dcpomatic.git] / src / lib / encoded_data.h
index 9064cc9292f351c98b028685db9c3873a4fb591b..245a888ddf531a51a8fcd66eb867545caa5a3816 100644 (file)
 
 */
 
+#include "types.h"
+#include <dcp/picture_mxf_writer.h>
 #include <boost/noncopyable.hpp>
 #include <boost/filesystem.hpp>
-#include <dcp/picture_mxf_writer.h>
-#include "types.h"
 
 class Socket;
 class Film;
@@ -33,6 +33,7 @@ class EncodedData : public boost::noncopyable
 public:
        /** @param s Size of data, in bytes */
        EncodedData (int s);
+       EncodedData (uint8_t const * d, int s);
 
        EncodedData (boost::filesystem::path);