From dc07b0005960687b7ec541b0a3714210e1e16f6a Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Thu, 31 Mar 2022 17:05:02 +0100 Subject: [PATCH] set vips-sequential as a simple int to avoid trouble with bindings which don't implement get for an empty VipsArea --- libvips/foreign/foreign.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libvips/foreign/foreign.c b/libvips/foreign/foreign.c index ba9fc329..a20a2ebb 100644 --- a/libvips/foreign/foreign.c +++ b/libvips/foreign/foreign.c @@ -1131,8 +1131,7 @@ vips_foreign_load_build( VipsObject *object ) /* Tell downstream if we are reading sequentially. */ if( sequential ) - vips_image_set_area( load->out, - VIPS_META_SEQUENTIAL, NULL, NULL ); + vips_image_set_int( load->out, VIPS_META_SEQUENTIAL, 1 ); return( 0 ); }