summaryrefslogtreecommitdiff
path: root/src/cmsxform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmsxform.c')
-rw-r--r--src/cmsxform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmsxform.c b/src/cmsxform.c
index 0b709b5..38ea624 100644
--- a/src/cmsxform.c
+++ b/src/cmsxform.c
@@ -960,7 +960,7 @@ _cmsTRANSFORM* AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut,
return NULL;
}
- BytesPerPixelInput = T_BYTES(p ->InputFormat);
+ BytesPerPixelInput = T_BYTES(*InputFormat);
if (BytesPerPixelInput == 0 || BytesPerPixelInput >= 2)
*dwFlags |= cmsFLAGS_CAN_CHANGE_FORMATTER;