/* Return nonzero if the file has byte-swapped data.  */
int TIFFIsByteSwapped(TIFF *tif)
/* Return nonzero if the file has byte-swapped data.  */
int TIFFIsByteSwapped(TIFF *tif)
{
	return ((tif->tif_flags & TIFF_SWAB) != 0);
}