2010-03-16 14:09:34 +01:00
|
|
|
Index: libtiff/tiffiop.h
|
|
|
|
===================================================================
|
|
|
|
--- libtiff/tiffiop.h.orig
|
2006-12-19 00:18:03 +01:00
|
|
|
+++ libtiff/tiffiop.h
|
2010-03-16 14:09:34 +01:00
|
|
|
@@ -209,7 +209,7 @@ struct tiff {
|
2006-12-19 00:18:03 +01:00
|
|
|
#define TIFFWriteFile(tif, buf, size) \
|
|
|
|
((*(tif)->tif_writeproc)((tif)->tif_clientdata,buf,size))
|
|
|
|
#define TIFFSeekFile(tif, off, whence) \
|
|
|
|
- ((*(tif)->tif_seekproc)((tif)->tif_clientdata,(toff_t)(off),whence))
|
|
|
|
+ ((tif)->tif_seekproc?((*(tif)->tif_seekproc)((tif)->tif_clientdata,(toff_t)(off),whence)):0)
|
|
|
|
#define TIFFCloseFile(tif) \
|
|
|
|
((*(tif)->tif_closeproc)((tif)->tif_clientdata))
|
|
|
|
#define TIFFGetFileSize(tif) \
|