2012.04.19 13:12 "[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