summaryrefslogtreecommitdiff
path: root/src/lib/image.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-01 23:40:01 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-02 23:10:04 +0100
commit6fa9748f382302fa88292b4219598bb81edc7bd0 (patch)
tree83f0859c934da2293913efb2c5ba029526e5634d /src/lib/image.h
parentb639b7b20f1ab341194bcd5c76700ca419254d11 (diff)
Replace dcp::Data with dcp::ArrayData
Diffstat (limited to 'src/lib/image.h')
-rw-r--r--src/lib/image.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/image.h b/src/lib/image.h
index eab71c2b1..ab9b3c78a 100644
--- a/src/lib/image.h
+++ b/src/lib/image.h
@@ -31,6 +31,7 @@
extern "C" {
#include <libavutil/pixfmt.h>
}
+#include <dcp/array_data.h>
#include <dcp/colour_conversion.h>
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
@@ -83,7 +84,7 @@ public:
size_t memory_used () const;
- dcp::Data as_png () const;
+ dcp::ArrayData as_png () const;
void png_error (char const * message);