8184937: LCMS error 13: Couldn't link the profiles
Reviewed-by: prr
This commit is contained in:
parent
7d547d0ee4
commit
8d9060c1a6
@ -4464,12 +4464,6 @@ void *Type_MPE_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsU
|
||||
if (!_cmsReadUInt32Number(io, &ElementCount)) goto Error;
|
||||
if (!ReadPositionTable(self, io, ElementCount, BaseOffset, NewLUT, ReadMPEElem)) goto Error;
|
||||
|
||||
if (!ReadPositionTable(self, io, ElementCount, BaseOffset, NewLUT, ReadMPEElem)) {
|
||||
if (NewLUT != NULL) cmsPipelineFree(NewLUT);
|
||||
*nItems = 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Success
|
||||
*nItems = 1;
|
||||
return NewLUT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user