diff options
author | Even Rouault <even.rouault@spatialys.com> | 2017-06-29 07:37:12 +0000 |
---|---|---|
committer | Even Rouault <even.rouault@spatialys.com> | 2017-06-29 07:37:12 +0000 |
commit | 385edd37e99e13ccc8d908686ce3a255d0393821 (patch) | |
tree | 1d2739e4da66c2c0499cfce4660d706b9f1d6c68 /libtiff/tiffiop.h | |
parent | 976774deace918d77fc4ef9fc33829d7bd6919b7 (diff) | |
download | libtiff-git-385edd37e99e13ccc8d908686ce3a255d0393821.tar.gz |
* libtiff/tiffiop.h, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c,
libtiff/tif_read.c: make TIFFReadScanline() works in
CHUNKY_STRIP_READ_SUPPORT mode with JPEG stream with multiple scans.
Also make configurable through a LIBTIFF_JPEG_MAX_ALLOWED_SCAN_NUMBER
environment variable the maximum number of scans allowed. Defaults to
100.
Diffstat (limited to 'libtiff/tiffiop.h')
-rw-r--r-- | libtiff/tiffiop.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libtiff/tiffiop.h b/libtiff/tiffiop.h index 73591340..2f992ef5 100644 --- a/libtiff/tiffiop.h +++ b/libtiff/tiffiop.h @@ -1,4 +1,4 @@ -/* $Id: tiffiop.h,v 1.91 2017-06-18 10:31:50 erouault Exp $ */ +/* $Id: tiffiop.h,v 1.92 2017-06-29 07:37:12 erouault Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -394,6 +394,7 @@ extern int TIFFInitOJPEG(TIFF*, int); #endif #ifdef JPEG_SUPPORT extern int TIFFInitJPEG(TIFF*, int); +extern int TIFFJPEGIsFullStripRequired(TIFF*); #endif #ifdef JBIG_SUPPORT extern int TIFFInitJBIG(TIFF*, int); |