summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/make_dcp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/make_dcp.cc b/examples/make_dcp.cc
index 93cfc1b6..fb17059a 100644
--- a/examples/make_dcp.cc
+++ b/examples/make_dcp.cc
@@ -64,7 +64,7 @@ main ()
/* Write 24 frames of the same JPEG2000 file */
dcp::ArrayData picture("examples/help.j2c");
for (int i = 0; i < 24; ++i) {
- picture_writer->write (picture.data(), picture.size());
+ picture_writer->write (picture);
}
/* And finish off */