Tweak name.
[libdcp.git] / src / util.cc
index 56bd1a7bb1dfd5ba53fea47f9ef6daf5797c6510..0ac3adc17df5fa454ba4319891560b7d706caf8d 100644 (file)
@@ -212,7 +212,7 @@ libdcp::xyz_to_rgb (opj_image_t* xyz_frame, shared_ptr<const GammaLUT> lut_in, s
 
        float colour_matrix[3][3];
 
-       switch (exp.lut_type) {
+       switch (exp.matrix) {
        case Experimental::FRAUNHOFER:
                colour_matrix[0][0] =  3.24096989631653;
                colour_matrix[0][1] = -1.5373831987381;