From: Pavel Charvat Date: Mon, 2 Oct 2006 15:18:07 +0000 (+0200) Subject: bugfix in area-based image scaling X-Git-Tag: holmes-import~513 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=e4c695d49529d03352d241872493a5161e646288;p=libucw.git bugfix in area-based image scaling --- diff --git a/images/scale-gen.h b/images/scale-gen.h index fa23225d..bbe5496e 100644 --- a/images/scale-gen.h +++ b/images/scale-gen.h @@ -230,7 +230,7 @@ IMAGE_SCALE_PREFIX(downsample_xy)(struct image *dest, struct image *src) rsrc += src->row_size; x_pos = 0; y_pos += y_inc; - if (y_pos <= 0x10000) + if (y_pos <= 0x100000000) { for (uns cols_counter = src->cols; cols_counter--; ) {