From f2c664a04fa6cf49b3719a0cc4c59f57bab04948 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 20 Nov 2014 12:32:01 +0100 Subject: use pixman images for storage --- lut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lut.c') diff --git a/lut.c b/lut.c index 2901355..eda748b 100644 --- a/lut.c +++ b/lut.c @@ -72,7 +72,7 @@ op_map_work(struct ida_image *src, struct ida_rect *rect, unsigned char *scanline; int i; - scanline = src->data + line * src->i.width * 3; + scanline = ida_image_scanline(src, line); memcpy(dst,scanline,src->i.width * 3); if (line < rect->y1 || line >= rect->y2) return; -- cgit