Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 264604
Collapse All | Expand All

(-)cmsxform.c~ (+6 lines)
Lines 689-694 Link Here
689
                GrayTRC = cmsReadICCGamma(hProfile, icSigGrayTRCTag);
689
                GrayTRC = cmsReadICCGamma(hProfile, icSigGrayTRCTag);
690
                FromLstarToXYZ(GrayTRC, Shapes1);
690
                FromLstarToXYZ(GrayTRC, Shapes1);
691
		if (GrayTRC == NULL)
692
			return NULL;
693
691
                // Reversing must be done after curve translation
694
                // Reversing must be done after curve translation
692
                Shapes[0] = cmsReverseGamma(Shapes1[0]->nEntries, Shapes1[0]);
695
                Shapes[0] = cmsReverseGamma(Shapes1[0]->nEntries, Shapes1[0]);
Lines 704-709 Link Here
704
                GrayTRC = cmsReadICCGammaReversed(hProfile, icSigGrayTRCTag);   // Y
707
                GrayTRC = cmsReadICCGammaReversed(hProfile, icSigGrayTRCTag);   // Y
708
		if (GrayTRC == NULL)
709
			return NULL;
710
705
                Shapes[0] = cmsDupGamma(GrayTRC);
711
                Shapes[0] = cmsDupGamma(GrayTRC);
706
                Shapes[1] = cmsDupGamma(GrayTRC);
712
                Shapes[1] = cmsDupGamma(GrayTRC);
707
                Shapes[2] = cmsDupGamma(GrayTRC);
713
                Shapes[2] = cmsDupGamma(GrayTRC);

Return to bug 264604