From 197b0139dc0765ef5cd67acf6770ef9037718235 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 13 Dec 2020 01:30:30 +0100 Subject: Replace dcp::File with dcp::ArrayData. --- test/encryption_test.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/encryption_test.cc') 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 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 ()); } -- cgit v1.2.3