From: Cristy Date: Fri, 14 Dec 2018 02:10:15 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.8-17~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8410013145bf8b42ac0e1b1749e0007d150c862d;p=imagemagick ... --- diff --git a/MagickCore/enhance.c b/MagickCore/enhance.c index 28d40d4bf..2f77da13c 100644 --- a/MagickCore/enhance.c +++ b/MagickCore/enhance.c @@ -477,8 +477,8 @@ static void MapCLAHEHistogram(const RangeInfo *range_info, } static MagickBooleanType CLAHE(const RectangleInfo *clahe_info, - const RangeInfo *range_info,const size_t number_bins, - const double clip_limit,unsigned short *pixels) + const RangeInfo *range_info,const size_t number_bins,const double clip_limit, + unsigned short *pixels) { MemoryInfo *tile_cache; @@ -638,9 +638,6 @@ MagickExport MagickBooleanType CLAHEImage(Image *image,const size_t width, ColorspaceType colorspace; - RangeInfo - range_info; - MagickBooleanType status; @@ -650,6 +647,9 @@ MagickExport MagickBooleanType CLAHEImage(Image *image,const size_t width, MemoryInfo *pixel_cache; + RangeInfo + range_info; + RectangleInfo clahe_info;