* libtiff/tif_fax3.h: make Param member of TIFFFaxTabEnt structure

a uint16 to reduce size of the binary.
This commit is contained in:
Even Rouault 2016-01-09 22:19:21 +00:00
parent 2794a67c27
commit eb52becbb9
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2016-01-09 Even Rouault <even.rouault at spatialys.com>
* libtiff/tif_fax3.h: make Param member of TIFFFaxTabEnt structure
a uint16 to reduce size of the binary.
2016-01-03 Even Rouault <even.rouault at spatialys.com>
* libtiff/tif_read.c, tif_dirread.c: fix indentation issues raised

View File

@ -1,4 +1,4 @@
/* $Id: tif_fax3.h,v 1.9 2011-03-10 20:23:07 fwarmerdam Exp $ */
/* $Id: tif_fax3.h,v 1.10 2016-01-09 22:19:21 erouault Exp $ */
/*
* Copyright (c) 1990-1997 Sam Leffler
@ -84,7 +84,7 @@ extern void _TIFFFax3fillruns(unsigned char*, uint32*, uint32*, uint32);
typedef struct { /* state table entry */
unsigned char State; /* see above */
unsigned char Width; /* width of code in bits */
uint32 Param; /* unsigned 32-bit run length in bits */
uint16 Param; /* unsigned 16-bit run length in bits */
} TIFFFaxTabEnt;
extern const TIFFFaxTabEnt TIFFFaxMainTable[];