diff options
Diffstat (limited to 'src/libtiff/tif_dumpmode.c')
-rw-r--r-- | src/libtiff/tif_dumpmode.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libtiff/tif_dumpmode.c b/src/libtiff/tif_dumpmode.c index d58a98b..cc9f999 100644 --- a/src/libtiff/tif_dumpmode.c +++ b/src/libtiff/tif_dumpmode.c @@ -1,4 +1,4 @@ -/* $Header: /cvsroot/imtoolkit/im/src/libtiff/tif_dumpmode.c,v 1.1 2008/10/17 06:16:07 scuri Exp $ */ +/* $Header: /cvsroot/imtoolkit/im/src/libtiff/tif_dumpmode.c,v 1.2 2009/08/21 04:01:59 scuri Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -45,7 +45,7 @@ DumpModeEncode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) if (tif->tif_rawcc + n > tif->tif_rawdatasize) n = tif->tif_rawdatasize - tif->tif_rawcc; - assert( n > 0 ); + assert( n > 0 ); /* * Avoid copy if client has setup raw @@ -71,6 +71,8 @@ static int DumpModeDecode(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s) { (void) s; +/* fprintf(stderr,"DumpModeDecode: scanline %ld, expected %ld bytes, got %ld bytes\n", */ +/* (long) tif->tif_row, (long) tif->tif_rawcc, (long) cc); */ if (tif->tif_rawcc < cc) { TIFFErrorExt(tif->tif_clientdata, tif->tif_name, "DumpModeDecode: Not enough data for scanline %d", |