diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-13 01:30:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-17 20:13:22 +0100 |
| commit | 197b0139dc0765ef5cd67acf6770ef9037718235 (patch) | |
| tree | 0598b07c4cfabac7a0fc72fd617cc70057b090cc /examples | |
| parent | 0fdccaf9779b376938a1cd795f31f3bc5036333f (diff) | |
Replace dcp::File with dcp::ArrayData.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/make_dcp.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/make_dcp.cc b/examples/make_dcp.cc index 1705589d..df3dda24 100644 --- a/examples/make_dcp.cc +++ b/examples/make_dcp.cc @@ -38,7 +38,6 @@ #include "sound_asset.h" #include "sound_asset_writer.h" #include "reel.h" -#include "file.h" #include "reel_mono_picture_asset.h" #include "reel_sound_asset.h" #include <cmath> @@ -60,7 +59,7 @@ main () std::shared_ptr<dcp::PictureAssetWriter> picture_writer = picture_asset->start_write ("DCP/picture.mxf", false); /* Write 24 frames of the same JPEG2000 file */ - dcp::File picture ("examples/help.j2c"); + dcp::ArrayData picture ("examples/help.j2c"); for (int i = 0; i < 24; ++i) { picture_writer->write (picture.data(), picture.size()); } |
