summaryrefslogtreecommitdiff
path: root/test/encryption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-13 01:30:30 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 20:13:22 +0100
commit197b0139dc0765ef5cd67acf6770ef9037718235 (patch)
tree0598b07c4cfabac7a0fc72fd617cc70057b090cc /test/encryption_test.cc
parent0fdccaf9779b376938a1cd795f31f3bc5036333f (diff)
Replace dcp::File with dcp::ArrayData.
Diffstat (limited to 'test/encryption_test.cc')
-rw-r--r--test/encryption_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc
index 7bf83c4c..0cba37fc 100644
--- a/test/encryption_test.cc
+++ b/test/encryption_test.cc
@@ -42,7 +42,6 @@
#include "sound_asset.h"
#include "reel.h"
#include "test.h"
-#include "file.h"
#include "subtitle_asset.h"
#include "reel_mono_picture_asset.h"
#include "reel_sound_asset.h"
@@ -92,7 +91,7 @@ BOOST_AUTO_TEST_CASE (encryption_test)
mp->set_key (key);
shared_ptr<dcp::PictureAssetWriter> writer = mp->start_write ("build/test/DCP/encryption_test/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 ());
}