From 4e97dbac6a6af43d4ddea4c5b5bb24737725b874 Mon Sep 17 00:00:00 2001 From: Marti Maria Date: Sun, 21 Aug 2022 11:46:05 +0200 Subject: Disable plugin for negative handling Plugin should not get those special modes --- plugins/fast_float/src/fast_float_sup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/fast_float/src/fast_float_sup.c b/plugins/fast_float/src/fast_float_sup.c index fc0f303..961ed55 100644 --- a/plugins/fast_float/src/fast_float_sup.c +++ b/plugins/fast_float/src/fast_float_sup.c @@ -36,6 +36,9 @@ cmsBool Floating_Point_Transforms_Dispatcher(_cmsTransform2Fn* TransformFn, // Softproofing & gamut check does not use plugin, both are activated via following flag. if (*dwFlags & cmsFLAGS_SOFTPROOFING) return FALSE; + // Special flags for reversing are not supported + if (T_FLAVOR(*InputFormat) || T_FLAVOR(*OutputFormat)) return FALSE; + // Try to optimize as a set of curves plus a matrix plus a set of curves if (OptimizeMatrixShaper15(TransformFn, UserData, FreeUserData, Lut, InputFormat, OutputFormat, dwFlags)) return TRUE; -- cgit v1.2.3