tiny formatting fixes
This commit is contained in:
parent
976db37f84
commit
17ca29adc9
@ -531,7 +531,8 @@ vips_foreign_load_nsgif_load( VipsForeignLoad *load )
|
|||||||
if( vips_image_generate( t[0],
|
if( vips_image_generate( t[0],
|
||||||
NULL, vips_foreign_load_nsgif_generate, NULL, gif, NULL ) ||
|
NULL, vips_foreign_load_nsgif_generate, NULL, gif, NULL ) ||
|
||||||
vips_sequential( t[0], &t[1],
|
vips_sequential( t[0], &t[1],
|
||||||
"tile_height", vips_foreign_load_nsgif_tile_height(gif),
|
"tile_height",
|
||||||
|
vips_foreign_load_nsgif_tile_height( gif ),
|
||||||
NULL ) ||
|
NULL ) ||
|
||||||
vips_image_write( t[1], load->real ) )
|
vips_image_write( t[1], load->real ) )
|
||||||
return( -1 );
|
return( -1 );
|
||||||
@ -627,6 +628,7 @@ vips_foreign_load_nsgif_init( VipsForeignLoadNsgif *gif )
|
|||||||
&gif->anim );
|
&gif->anim );
|
||||||
if (result != NSGIF_OK) {
|
if (result != NSGIF_OK) {
|
||||||
VipsObjectClass *class = VIPS_OBJECT_GET_CLASS( gif );
|
VipsObjectClass *class = VIPS_OBJECT_GET_CLASS( gif );
|
||||||
|
|
||||||
vips_error( class->nickname, "%s",
|
vips_error( class->nickname, "%s",
|
||||||
nsgif_strerror( result ) );
|
nsgif_strerror( result ) );
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user