Do not cleanup codec state in TIFFInitJPEG(). As per bug

http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
This commit is contained in:
Andrey Kiselev 2006-03-15 20:56:40 +00:00
parent 58eec60cc9
commit 08272d5428

View File

@ -1,4 +1,4 @@
/* $Id: tif_jpeg.c,v 1.43 2006-03-07 11:59:12 dron Exp $ */
/* $Id: tif_jpeg.c,v 1.44 2006-03-15 20:56:40 dron Exp $ */
/*
* Copyright (c) 1994-1997 Sam Leffler
@ -1850,9 +1850,6 @@ TIFFInitJPEG(TIFF* tif, int scheme)
assert(scheme == COMPRESSION_JPEG);
if ((tif->tif_flags & TIFF_CODERSETUP) == 0)
JPEGCleanup(tif);
/*
* Allocate state block so tag methods have storage to record values.
*/