From: Pavel Charvat Date: Fri, 25 Aug 2006 11:42:11 +0000 (+0200) Subject: fixed bug in image allocation X-Git-Tag: holmes-import~589 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=6807c91ef55b7b1992f85623689f3162bc950dc5;p=libucw.git fixed bug in image allocation --- diff --git a/images/image.c b/images/image.c index 58ec9ec1..914d0f17 100644 --- a/images/image.c +++ b/images/image.c @@ -118,7 +118,7 @@ image_new(struct image_thread *it, uns cols, uns rows, uns flags, struct mempool img->cols = cols; img->rows = rows; img->row_size = row_size; - img->image_size = bytes_64; + img->image_size = image_size_64; DBG("img=%p flags=0x%x pixel_size=%u row_size=%u image_size=%u pixels=%p", img, img->flags, img->pixel_size, img->row_size, img->image_size, img->pixels); return img;