projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de2a8ad
)
Use new write() method in example.
author
Carl Hetherington
<cth@carlh.net>
Sat, 27 Feb 2021 23:09:38 +0000
(
00:09
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 27 Feb 2021 23:09:38 +0000
(
00:09
+0100)
examples/make_dcp.cc
patch
|
blob
|
history
diff --git
a/examples/make_dcp.cc
b/examples/make_dcp.cc
index 93cfc1b666057f4736fd30065f700bf2043e4900..fb17059a3dbfcc822615b498613164551adab36e 100644
(file)
--- 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 */