summaryrefslogtreecommitdiff
path: root/test/decryption_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/decryption_test.cc')
-rw-r--r--test/decryption_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/decryption_test.cc b/test/decryption_test.cc
index 282e74f3..0080fe3e 100644
--- a/test/decryption_test.cc
+++ b/test/decryption_test.cc
@@ -50,7 +50,7 @@ get_frame (dcp::DCP const & dcp)
shared_ptr<dcp::XYZImage> xyz = j2k_frame->xyz_image();
uint8_t* argb = new uint8_t[xyz->size().width * xyz->size().height * 4];
- dcp::xyz_to_rgba (j2k_frame->xyz_image(), dcp::ColourConversion::xyz_to_srgb(), argb);
+ dcp::xyz_to_rgba (j2k_frame->xyz_image(), dcp::ColourConversion::srgb_to_xyz(), argb);
return make_pair (argb, xyz->size ());
}