~cosme/ubuntu/precise/freeimage/freeimage-3.15.1

« back to all changes in this revision

Viewing changes to Source/LibTIFF/tif_zip.c

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-07-20 13:42:15 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100720134215-xt1454zaedv3b604
Tags: 3.13.1-0ubuntu1
* New upstream release. Closes: (LP: #607800)
 - Updated debian/freeimage-get-orig-source script.
 - Removing no longer necessary debian/patches/* and
   the patch system in debian/rules.
 - Updated debian/rules to work with the new Makefiles.
 - Drop from -O3 to -O2 and use lzma compression saves
   ~10 MB of free space. 
* lintian stuff
 - fixed debhelper-but-no-misc-depends
 - fixed ldconfig-symlink-missing-for-shlib

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: tif_zip.c,v 1.20 2007/11/10 18:41:43 drolon Exp $ */
 
1
/* $Id: tif_zip.c,v 1.28 2009/11/07 19:18:27 drolon Exp $ */
2
2
 
3
3
/*
4
4
 * Copyright (c) 1995-1997 Sam Leffler
119
119
        assert(sp != NULL);
120
120
 
121
121
        if( (sp->state & ZSTATE_INIT_DECODE) == 0 )
122
 
            ZIPSetupDecode(tif);
 
122
            tif->tif_setupdecode( tif );
123
123
 
124
124
        sp->stream.next_in = tif->tif_rawdata;
125
125
        sp->stream.avail_in = tif->tif_rawcc;
197
197
        (void) s;
198
198
        assert(sp != NULL);
199
199
        if( sp->state != ZSTATE_INIT_ENCODE )
200
 
            ZIPSetupEncode(tif);
 
200
            tif->tif_setupencode( tif );
201
201
 
202
202
        sp->stream.next_out = tif->tif_rawdata;
203
203
        sp->stream.avail_out = tif->tif_rawdatasize;