summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-03-08 12:45:52 +0000
committerCarl Hetherington <cth@carlh.net>2016-03-21 16:41:14 +0000
commiteb0bdad79aa8a8b32e7d23149cf0a0c8f1dfd380 (patch)
tree019f1bdb72ba3feb13d71cac32e2505711d472f4 /test
parent46659619edffe56bc814d6c49a057db22a117194 (diff)
Various build fixes.
Diffstat (limited to 'test')
-rw-r--r--test/poznan.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/poznan.cc b/test/poznan.cc
index fe18667d1..588ef754e 100644
--- a/test/poznan.cc
+++ b/test/poznan.cc
@@ -7,6 +7,7 @@
using std::vector;
using boost::shared_ptr;
+using dcp::Data;
int main ()
{
@@ -14,7 +15,7 @@ int main ()
shared_ptr<JPEG2000Encoder> encoder = JPEG2000Encoder::from_id ("poznan");
- shared_ptr<Image> rgb (new Image (PIX_FMT_RGB24, dcp::Size (1998, 1080), false));
+ shared_ptr<Image> rgb (new Image (AV_PIX_FMT_RGB24, dcp::Size (1998, 1080), false));
int const line_size = 1998 * 3;