From 2f2d42e8c67bfffc1c8dceb4d74ecbd8956537b8 Mon Sep 17 00:00:00 2001 From: Marti Maria Date: Sat, 18 Nov 2023 17:46:56 +0100 Subject: [PATCH] Fix mistakes due to new functions Prepare release 2.16 --- src/lcms2.def | 4 ++-- utils/tificc/tificc.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lcms2.def b/src/lcms2.def index c3032720..8caee308 100644 --- a/src/lcms2.def +++ b/src/lcms2.def @@ -247,8 +247,8 @@ cmsOpenProfileFromMem = cmsOpenProfileFromMem cmsOpenProfileFromMemTHR = cmsOpenProfileFromMemTHR cmsOpenProfileFromStream = cmsOpenProfileFromStream cmsOpenProfileFromStreamTHR = cmsOpenProfileFromStreamTHR -cmsOpenCubeFromFileTHR = cmsOpenCubeFromFileTHR -cmsOpenCubeFromFile = cmsOpenCubeFromFile +cmsCreateDeviceLinkFromCubeFileTHR = cmsCreateDeviceLinkFromCubeFileTHR +cmsCreateDeviceLinkFromCubeFile = cmsCreateDeviceLinkFromCubeFile cmsPlugin = cmsPlugin _cmsRead15Fixed16Number = _cmsRead15Fixed16Number _cmsReadAlignment = _cmsReadAlignment diff --git a/utils/tificc/tificc.c b/utils/tificc/tificc.c index 03aa6753..1607fa62 100644 --- a/utils/tificc/tificc.c +++ b/utils/tificc/tificc.c @@ -927,7 +927,7 @@ int TransformImage(TIFF* in, TIFF* out, const char *cDefInpProf) if (lIsDeviceLink) { if (lIsCUBE) - hIn = cmsOpenCubeFromFile(cDefInpProf); + hIn = cmsCreateDeviceLinkFromCubeFile(cDefInpProf); else hIn = cmsOpenProfileFromFile(cDefInpProf, "r"); }