fix regression in autorot

we were writing the wrong image to the output, thanks malomalo

see https://github.com/libvips/ruby-vips/issues/226
This commit is contained in:
John Cupitt 2020-04-18 11:40:43 +01:00
parent b3a7929247
commit f24a4a273a

View File

@ -190,7 +190,7 @@ vips_autorot_build( VipsObject *object )
return( -1 );
}
if( vips_image_write( t[0], conversion->out ) )
if( vips_image_write( t[1], conversion->out ) )
return( -1 );
return( 0 );