From 20b9d770864dc6825e98faea30b0edd45ed053c5 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sat, 29 Jun 2019 13:18:29 +0100 Subject: [PATCH] don't need to test xoff / yoff --- libvips/foreign/webp2vips.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libvips/foreign/webp2vips.c b/libvips/foreign/webp2vips.c index 06c94ad8..a620c25c 100644 --- a/libvips/foreign/webp2vips.c +++ b/libvips/foreign/webp2vips.c @@ -499,8 +499,6 @@ read_header( Read *read, VipsImage *out ) */ do { if( iter.has_alpha || - iter.x_offset != 0 || - iter.y_offset != 0 || iter.width != read->canvas_width || iter.height != read->canvas_height ) { read->alpha = TRUE;