add changelog note
This commit is contained in:
parent
33d44e86fb
commit
a86f33769b
@ -5,6 +5,7 @@
|
||||
- revise caching of seq mode loaders [jcupitt]
|
||||
- reduce latency on dzsave kill [kleisauke]
|
||||
- improve text too large check [kleisauke]
|
||||
- fix subifd writing for small images [ruven]
|
||||
|
||||
24/7/22 started 8.13.1
|
||||
- fix im7 feature detection in meson
|
||||
|
@ -2114,7 +2114,6 @@ wtiff_page_start( Wtiff *wtiff )
|
||||
*/
|
||||
if( wtiff->subifd ) {
|
||||
int n_layers;
|
||||
toff_t *subifd_offsets;
|
||||
Layer *p;
|
||||
|
||||
#ifdef DEBUG
|
||||
@ -2128,12 +2127,15 @@ wtiff_page_start( Wtiff *wtiff )
|
||||
for( n_layers = 0, p = wtiff->layer->below; p; p = p->below )
|
||||
n_layers += 1;
|
||||
|
||||
if( n_layers > 0 ){
|
||||
subifd_offsets = VIPS_ARRAY( NULL, n_layers, toff_t );
|
||||
memset( subifd_offsets, 0, n_layers * sizeof( toff_t ) );
|
||||
TIFFSetField( wtiff->layer->tif, TIFFTAG_SUBIFD,
|
||||
n_layers, subifd_offsets );
|
||||
g_free( subifd_offsets );
|
||||
if( n_layers > 0 ) {
|
||||
toff_t *subifd_offsets;
|
||||
|
||||
subifd_offsets = VIPS_ARRAY( NULL, n_layers, toff_t );
|
||||
memset( subifd_offsets,
|
||||
0, n_layers * sizeof( toff_t ) );
|
||||
TIFFSetField( wtiff->layer->tif, TIFFTAG_SUBIFD,
|
||||
n_layers, subifd_offsets );
|
||||
g_free( subifd_offsets );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user