diff options
Diffstat (limited to 'src/libtiff/tif_dumpmode.c')
-rw-r--r-- | src/libtiff/tif_dumpmode.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libtiff/tif_dumpmode.c b/src/libtiff/tif_dumpmode.c index c93763a..ade189d 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.3 2009/12/11 15:17:41 scuri Exp $ */ +/* $Header: /cvsroot/imtoolkit/im/src/libtiff/tif_dumpmode.c,v 1.4 2010/01/26 15:56:36 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,8 +71,6 @@ 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", |