fix bug with chunk read support and deferred strile loading.

This commit is contained in:
Frank Warmerdam 2011-02-18 22:20:59 +00:00
parent 661b698b0d
commit 0a3abc0fe8

View File

@ -1,4 +1,4 @@
/* $Id: tif_read.c,v 1.35 2011-02-18 22:15:40 fwarmerdam Exp $ */ /* $Id: tif_read.c,v 1.36 2011-02-18 22:20:59 fwarmerdam Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -199,6 +199,7 @@ TIFFSeek(TIFF* tif, uint32 row, uint16 sample )
* read it a few lines at a time? * read it a few lines at a time?
*/ */
#if defined(CHUNKY_STRIP_READ_SUPPORT) #if defined(CHUNKY_STRIP_READ_SUPPORT)
_TIFFFillStriles( tif );
whole_strip = tif->tif_dir.td_stripbytecount[strip] < 10 whole_strip = tif->tif_dir.td_stripbytecount[strip] < 10
|| isMapped(tif); || isMapped(tif);
#else #else