diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-23 15:34:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-23 15:34:47 +0100 |
| commit | 02ff5c5989c4e2a84e4a3be8123abdbd887f8648 (patch) | |
| tree | 4cb8b458691329cba95e8e282aa01803ccef3848 /src/rgb_xyz.cc | |
| parent | 04156a67a01fbb81c6e8b59ecff6a22dee712c30 (diff) | |
A few small cleanups.
Diffstat (limited to 'src/rgb_xyz.cc')
| -rw-r--r-- | src/rgb_xyz.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgb_xyz.cc b/src/rgb_xyz.cc index 22b2bdec..071c800a 100644 --- a/src/rgb_xyz.cc +++ b/src/rgb_xyz.cc @@ -60,7 +60,7 @@ libdcp::xyz_to_rgb (shared_ptr<const XYZFrame> xyz_frame, shared_ptr<const LUT> uint8_t* argb_line = argb; for (int x = 0; x < xyz_frame->size().width; ++x) { - assert (*xyz_x >= 0 && *xyz_y >= 0 && *xyz_z >= 0 && *xyz_x < 4096 && *xyz_x < 4096 && *xyz_z < 4096); + assert (*xyz_x >= 0 && *xyz_y >= 0 && *xyz_z >= 0 && *xyz_x < 4096 && *xyz_y < 4096 && *xyz_z < 4096); /* In gamma LUT */ s.x = lut_in->lut()[*xyz_x++]; |
