AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.04.19 13:12 "[Tiff] TIFFSeekProc", by Christopher Cameron
2012.04.19 13:48 "Re: [Tiff] TIFFSeekProc", by Olivier Paquet
2012.04.19 14:15 "Re: [Tiff] TIFFSeekProc", by Christopher Cameron

2012.04.19 13:12 "[Tiff] TIFFSeekProc", by Christopher Cameron

Hello,

An issue came up in the development of a codec that uses libtiff. We are passing the TIFFSeekProc down through some layers to lseek().

typedef toff_t (*TIFFSeekProc)(thandle_t, toff_t, int);

Based on the definition, toff_t is always unsigned. Does this mean we can expect libtiff will never ask for a negative offset, for example with SEEK_END and SEEK_CUR?

Thanks,

Software Developer - Multimedia/Camera
ccameron@qnx.com