From 0a3abc0fe85a9ed75ec98d4b419f3956397875f6 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Fri, 18 Feb 2011 22:20:59 +0000 Subject: [PATCH] fix bug with chunk read support and deferred strile loading. --- libtiff/tif_read.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libtiff/tif_read.c b/libtiff/tif_read.c index 70ae7cc9..643c7736 100644 --- a/libtiff/tif_read.c +++ b/libtiff/tif_read.c @@ -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 @@ -198,7 +198,8 @@ TIFFSeek(TIFF* tif, uint32 row, uint16 sample ) * Do we want to treat this strip as one whole chunk or * 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 || isMapped(tif); #else