From 3f92cfc935d91c26a19d85e425d01e3dcd9a1c7a Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Mon, 20 Feb 2017 13:42:19 +0000 Subject: [PATCH] oops, don't copy header fields in prev commit --- libvips/deprecated/vips7compat.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libvips/deprecated/vips7compat.c b/libvips/deprecated/vips7compat.c index 993010ef..863fe701 100644 --- a/libvips/deprecated/vips7compat.c +++ b/libvips/deprecated/vips7compat.c @@ -740,7 +740,13 @@ im_wrapmany( IMAGE **in, IMAGE *out, im_wrapmany_fn fn, void *a, void *b ) if( vips_image_pio_input( in[i] ) ) return( -1 ); } - vips_image_pipeline_array( out, VIPS_DEMAND_STYLE_THINSTRIP, in ); + + /* Don't call vips_image_pipeline_array(), we don't want to copy + * fields. + */ + vips__demand_hint_array( out, VIPS_DEMAND_STYLE_THINSTRIP, in ); + if( vips__reorder_set_input( out, in ) ) + return( -1 ); /* Generate! */