From 6807c91ef55b7b1992f85623689f3162bc950dc5 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Fri, 25 Aug 2006 13:42:11 +0200 Subject: [PATCH] fixed bug in image allocation --- images/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2