fix invalid profile detection

oops typo
This commit is contained in:
John Cupitt 2015-06-30 13:53:36 +01:00
parent 6ffdc6a7b7
commit 0ab44b1aff

View File

@ -503,7 +503,7 @@ vips_image_expected_bands( VipsImage *image )
{
int expected_bands;
switch( image->Bands ) {
switch( image->Type ) {
case VIPS_INTERPRETATION_B_W:
case VIPS_INTERPRETATION_GREY16:
expected_bands = 1;