* libtiff/tif_dirinfo.c (TIFFField) : Fix data type for

TIFFTAG_GLOBALPARAMETERSIFD tag.  Patch by Lee Howard.
This commit is contained in:
Bob Friesenhahn 2014-05-07 01:54:29 +00:00
parent 3363eda09d
commit f9f939b5e6
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2014-05-06 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* libtiff/tif_dirinfo.c (TIFFField) : Fix data type for
TIFFTAG_GLOBALPARAMETERSIFD tag. Patch by Lee Howard.
2013-11-30 Frank Warmerdam <warmerdam@pobox.com>
* libtiff/tif_dir.c: fix last fix for TIFFNumberOfDirectories()

View File

@ -1,4 +1,4 @@
/* $Id: tif_dirinfo.c,v 1.119 2014-04-02 17:23:06 fwarmerdam Exp $ */
/* $Id: tif_dirinfo.c,v 1.120 2014-05-07 01:54:29 bfriesen Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@ -195,8 +195,8 @@ tiffFields[] = {
{ TIFFTAG_PERSAMPLE, 0, 0, TIFF_SHORT, 0, TIFF_SETGET_UNDEFINED, TIFF_SETGET_UNDEFINED, FIELD_PSEUDO, TRUE, FALSE, "PerSample", NULL},
/* end DNG tags */
/* begin TIFF/FX tags */
{ TIFFTAG_INDEXED, 1, 1, TIFF_SHORT, 0, TIFF_SETGET_UINT16, TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 0, 0, "Indexed" },
{ TIFFTAG_GLOBALPARAMETERSIFD, 1, 1, TIFF_IFD, 0, TIFF_SETGET_UINT32, TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 0, 0, "GlobalParametersIFD", NULL },
{ TIFFTAG_INDEXED, 1, 1, TIFF_SHORT, 0, TIFF_SETGET_UINT16, TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 0, 0, "Indexed", NULL },
{ TIFFTAG_GLOBALPARAMETERSIFD, 1, 1, TIFF_IFD8, 0, TIFF_SETGET_IFD8, TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 0, 0, "GlobalParametersIFD", NULL },
{ TIFFTAG_PROFILETYPE, 1, 1, TIFF_LONG, 0, TIFF_SETGET_UINT32, TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 0, 0, "ProfileType", NULL },
{ TIFFTAG_FAXPROFILE, 1, 1, TIFF_BYTE, 0, TIFF_SETGET_UINT8, TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 0, 0, "FaxProfile", NULL },
{ TIFFTAG_CODINGMETHODS, 1, 1, TIFF_LONG, 0, TIFF_SETGET_UINT32, TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 0, 0, "CodingMethods", NULL },