oop, dropped an "else"

This commit is contained in:
John Cupitt 2020-01-29 18:12:37 +00:00
parent a158b15b97
commit 81fa983121
2 changed files with 2 additions and 2 deletions

View File

@ -4,6 +4,7 @@
- add max and min to region shrink [rgluskin]
- allow \ as an escape character in vips_break_token() [akemrir]
- tiffsave has a "depth" param to set max pyr depth
- libtiff LOGLUV images load and save as libvips XYZ
20/6/19 started 8.9.1
- don't use the new source loaders for new_from_file or new_from_buffer, it

View File

@ -2270,8 +2270,7 @@ rtiff_header_read( Rtiff *rtiff, RtiffHeader *header )
if( header->compression == COMPRESSION_JPEG )
TIFFSetField( rtiff->tiff,
TIFFTAG_JPEGCOLORMODE, JPEGCOLORMODE_RGB );
if( header->photometric_interpretation == PHOTOMETRIC_YCBCR ) {
else if( header->photometric_interpretation == PHOTOMETRIC_YCBCR ) {
/* We rely on the jpg decompressor to upsample chroma
* subsampled images. If there is chroma subsampling but
* no jpg compression, we have to give up.