cl /analyze found a bug in cmslut.c
here's a patch; around line 562:
============================================================
=======
StageABC[0] = StageABC[1] = StageABC[2] =
RGB_8_TO_16(i);
if (Lut ->wFlags & LUT_HASTL1) {
for (j=0; j < 3; j++)
- StageABC[i] =
cmsLinearInterpLUT16(StageABC[i],
- Lut
-> L1[i],
+ StageABC[j] =
cmsLinearInterpLUT16(StageABC[j],
+ Lut
-> L1[j],
&Lut -> In16params);
Lut ->wFlags &= ~LUT_HASTL1;
}
------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Lcms-user mailing list
Lcms-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user
|