OLD | NEW |
| 1 diff --git a/third_party/lcms2-2.6/src/cmslut.c b/third_party/lcms2-2.6/src/cmsl
ut.c |
| 2 index 73e6726..8d5aa60 100644 |
| 3 --- a/third_party/lcms2-2.6/src/cmslut.c |
| 4 +++ b/third_party/lcms2-2.6/src/cmslut.c |
| 5 @@ -391,7 +391,7 @@ cmsStage* CMSEXPORT cmsStageAllocMatrix(cmsContext ContextI
D, cmsUInt32Number R |
| 6 if (n >= UINT_MAX / Rows) return NULL; |
| 7 if (n < Rows || n < Cols) return NULL; |
| 8 |
| 9 - NewMPE = _cmsStageAllocPlaceholder(ContextID, cmsSigMatrixElemType, Cols, R
ows, |
| 10 + NewMPE = _cmsStageAllocPlaceholder(ContextID, cmsSigMatrixElemType, Rows, C
ols, |
| 11 EvaluateMatrix, MatrixElemDup, MatrixElemT
ypeFree, NULL ); |
| 12 if (NewMPE == NULL) return NULL; |
| 13 |
1 diff --git a/third_party/lcms2-2.6/src/cmstypes.c b/third_party/lcms2-2.6/src/cm
stypes.c | 14 diff --git a/third_party/lcms2-2.6/src/cmstypes.c b/third_party/lcms2-2.6/src/cm
stypes.c |
2 index 15199c7..6f335d9 100644 | 15 index 15199c7..6f335d9 100644 |
3 --- a/third_party/lcms2-2.6/src/cmstypes.c | 16 --- a/third_party/lcms2-2.6/src/cmstypes.c |
4 +++ b/third_party/lcms2-2.6/src/cmstypes.c | 17 +++ b/third_party/lcms2-2.6/src/cmstypes.c |
5 @@ -4225,7 +4225,7 @@ void *Type_MPEmatrix_Read(struct _cms_typehandler_struct*
self, cmsIOHANDLER* io | 18 @@ -4225,7 +4225,7 @@ void *Type_MPEmatrix_Read(struct _cms_typehandler_struct*
self, cmsIOHANDLER* io |
6 } | 19 } |
7 | 20 |
8 | 21 |
9 - mpe = cmsStageAllocMatrix(self ->ContextID, OutputChans, InputChans, Matrix
, Offsets); | 22 - mpe = cmsStageAllocMatrix(self ->ContextID, OutputChans, InputChans, Matrix
, Offsets); |
10 + mpe = cmsStageAllocMatrix(self ->ContextID, InputChans, OutputChans, Matrix
, Offsets); | 23 + mpe = cmsStageAllocMatrix(self ->ContextID, InputChans, OutputChans, Matrix
, Offsets); |
11 _cmsFree(self ->ContextID, Matrix); | 24 _cmsFree(self ->ContextID, Matrix); |
12 _cmsFree(self ->ContextID, Offsets); | 25 _cmsFree(self ->ContextID, Offsets); |
13 | 26 |
OLD | NEW |