X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8414a40c52191d4c7cfeea74df22d9d64cbec415..3201a1046ba71ba8e5ef2ed694fde34d12f743f3:/src/tiff/libtiff/tif_getimage.c diff --git a/src/tiff/libtiff/tif_getimage.c b/src/tiff/libtiff/tif_getimage.c index be4e81963c..2b2a6bc415 100644 --- a/src/tiff/libtiff/tif_getimage.c +++ b/src/tiff/libtiff/tif_getimage.c @@ -2045,12 +2045,12 @@ initYCbCrConversion(TIFFRGBAImage* img) */ TIFFGetFieldDefaulted(img->tif, TIFFTAG_YCBCRSUBSAMPLING, &hs, &vs); switch ((hs<<4)|vs) { - case 0x44: return (putcontig8bitYCbCr44tile); - case 0x42: return (putcontig8bitYCbCr42tile); - case 0x41: return (putcontig8bitYCbCr41tile); - case 0x22: return (putcontig8bitYCbCr22tile); - case 0x21: return (putcontig8bitYCbCr21tile); - case 0x11: return (putcontig8bitYCbCr11tile); + case 0x44: return &putcontig8bitYCbCr44tile; + case 0x42: return &putcontig8bitYCbCr42tile; + case 0x41: return &putcontig8bitYCbCr41tile; + case 0x22: return &putcontig8bitYCbCr22tile; + case 0x21: return &putcontig8bitYCbCr21tile; + case 0x11: return &putcontig8bitYCbCr11tile; } return (NULL); @@ -2086,7 +2086,7 @@ initCIELabConversion(TIFFRGBAImage* img) return NULL; } - return putcontig8bitCIELab; + return &putcontig8bitCIELab; } /*