From 127f1de02bb92c26a259d879200c4a874839fdad Mon Sep 17 00:00:00 2001 From: Marti Maria Date: Sat, 6 Nov 2021 20:08:45 +0100 Subject: fix alpha channel bug From a PR we got some issues, fixed. --- plugins/fast_float/src/fast_float_cmyk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/fast_float/src/fast_float_cmyk.c b/plugins/fast_float/src/fast_float_cmyk.c index 0b68fad..f6157a1 100644 --- a/plugins/fast_float/src/fast_float_cmyk.c +++ b/plugins/fast_float/src/fast_float_cmyk.c @@ -303,10 +303,11 @@ void FloatCMYKCLUTEval(struct _cmstransform_struct *CMMcargo, out[OutChan] += DestIncrements[OutChan]; } - if (ain) + if (ain) { *(cmsFloat32Number*)(out[TotalOut]) = *(cmsFloat32Number*)ain; ain += SourceIncrements[4]; out[TotalOut] += DestIncrements[TotalOut]; + } } strideIn += Stride->BytesPerLineIn; -- cgit v1.2.3