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 /test/round_trip_test.cc | |
| parent | 0fdccaf9779b376938a1cd795f31f3bc5036333f (diff) | |
Replace dcp::File with dcp::ArrayData.
Diffstat (limited to 'test/round_trip_test.cc')
| -rw-r--r-- | test/round_trip_test.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/round_trip_test.cc b/test/round_trip_test.cc index 2e7984ca..3fa61fd0 100644 --- a/test/round_trip_test.cc +++ b/test/round_trip_test.cc @@ -46,7 +46,6 @@ #include "mono_picture_asset_reader.h" #include "reel_picture_asset.h" #include "reel_mono_picture_asset.h" -#include "file.h" #include "openjpeg_image.h" #include "rgb_xyz.h" #include "colour_conversion.h" @@ -70,7 +69,7 @@ BOOST_AUTO_TEST_CASE (round_trip_test) shared_ptr<dcp::MonoPictureAsset> asset_A (new dcp::MonoPictureAsset (dcp::Fraction (24, 1), dcp::SMPTE)); shared_ptr<dcp::PictureAssetWriter> writer = asset_A->start_write (work_dir / "video.mxf", false); - dcp::File j2c ("test/data/flat_red.j2c"); + dcp::ArrayData j2c ("test/data/flat_red.j2c"); for (int i = 0; i < 24; ++i) { writer->write (j2c.data (), j2c.size ()); } |
