oops vips7 png read was broken

This commit is contained in:
John Cupitt 2012-07-19 13:59:37 +01:00
parent c6a714794f
commit bb95b54679
2 changed files with 6 additions and 2 deletions

4
TODO
View File

@ -1,3 +1,7 @@
- try the nip2 test suite again
blocking bugs
=============

View File

@ -78,11 +78,11 @@ png2vips( const char *name, IMAGE *out, gboolean header_only )
}
if( header_only ) {
if( vips__png_read( filename, out ) )
if( vips__png_header( filename, out ) )
return( -1 );
}
else {
if( vips__png_header( filename, out ) )
if( vips__png_read( filename, out ) )
return( -1 );
}