tif_fax3 bug fix per Roman Shpount

This commit is contained in:
Frank Warmerdam 2000-09-26 12:59:19 +00:00
parent b6348a4592
commit 8d9e3bcf65
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-09-26 Frank Warmerdam <warmerda@cs46980-c>
* Applied patch for 0x0000 sequences in tif_fax3.h's definition
of EXPAND1D() as per bug 11 (from Roman).
2000-09-25 Frank Warmerdam <warmerda@cs46980-c> 2000-09-25 Frank Warmerdam <warmerda@cs46980-c>
* Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
cygwin compatibility. cygwin compatibility.

View File

@ -1,4 +1,4 @@
/* $Id: tif_fax3.h,v 1.2 1999-09-17 04:08:59 mwelles Exp $ */ /* $Id: tif_fax3.h,v 1.3 2000-09-26 12:59:19 warmerda Exp $ */
/* /*
* Copyright (c) 1990-1997 Sam Leffler * Copyright (c) 1990-1997 Sam Leffler
@ -360,6 +360,8 @@ static const char* StateNames[] = {
doneBlack1d: \ doneBlack1d: \
if (a0 >= lastx) \ if (a0 >= lastx) \
goto done1d; \ goto done1d; \
if( *(pa-1) == 0 && *(pa-2) == 0 ) \
pa -= 2; \
} \ } \
eof1d: \ eof1d: \
prematureEOF(a0); \ prematureEOF(a0); \