diff options
author | Marti Maria <marti.maria@littlecms.com> | 2021-11-06 20:08:45 +0100 |
---|---|---|
committer | Marti Maria <marti.maria@littlecms.com> | 2021-11-06 20:08:45 +0100 |
commit | 127f1de02bb92c26a259d879200c4a874839fdad (patch) | |
tree | f8f48e385f5f127ed2150bbcfc33f709f20e14c6 /plugins | |
parent | b604d09877bed63fdff1c8a9d3c2e0d79312c2a6 (diff) | |
download | lcms2-127f1de02bb92c26a259d879200c4a874839fdad.tar.gz |
fix alpha channel bug
From a PR we got some issues, fixed.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/fast_float/src/fast_float_cmyk.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |