fix pytest

This commit is contained in:
John Cupitt 2020-01-30 21:46:31 +00:00
parent e60030b6e8
commit 63b755e73e
1 changed files with 4 additions and 1 deletions

View File

@ -34,6 +34,8 @@
* - check image and frame bounds, since giflib does not
* 1/9/19
* - improve early close again
* 30/1/19
* - rework on top of VipsSource
*/
/*
@ -332,7 +334,8 @@ vips_foreign_load_gif_close_giflib( VipsForeignLoadGif *gif )
}
#endif
vips_source_minimise( gif->source );
if( gif->source )
vips_source_minimise( gif->source );
return( 0 );
}