remove early shutdown from tiff reader
since streams do this automatically now
This commit is contained in:
parent
6fea2e7c57
commit
112dc9101a
@ -195,7 +195,7 @@ vips_sequential_build( VipsObject *object )
|
||||
if( vips_linecache( sequential->in, &t,
|
||||
"tile_height", sequential->tile_height,
|
||||
"access", VIPS_ACCESS_SEQUENTIAL,
|
||||
/* We need seq caches to persist across minimise, in case
|
||||
/* We need seq caches to persist across minimise in case
|
||||
* someone is trying to read an image with a series of crop
|
||||
* operations.
|
||||
*/
|
||||
|
@ -2041,15 +2041,6 @@ rtiff_stripwise_generate( VipsRegion *or,
|
||||
rtiff->y_pos += hit.height;
|
||||
}
|
||||
|
||||
/* Shut down the input file as soon as we can.
|
||||
*/
|
||||
if( rtiff->y_pos >= or->im->Ysize ) {
|
||||
#ifdef DEBUG
|
||||
printf( "rtiff_stripwise_generate: early shutdown\n" );
|
||||
#endif /*DEBUG*/
|
||||
rtiff_free( rtiff );
|
||||
}
|
||||
|
||||
VIPS_GATE_STOP( "rtiff_stripwise_generate: work" );
|
||||
|
||||
return( 0 );
|
||||
|
@ -1241,7 +1241,6 @@ LabS2Lab16( VipsPel *q, VipsPel *p, int n, int samples_per_pixel )
|
||||
int x;
|
||||
|
||||
for( x = 0; x < n; x++ ) {
|
||||
int v;
|
||||
int i;
|
||||
|
||||
/* LABS L can be negative.
|
||||
|
Loading…
Reference in New Issue
Block a user