| Index: third_party/libpng/pnglibconf.h
|
| diff --git a/third_party/libpng/pnglibconf.h b/third_party/libpng/pnglibconf.h
|
| index 3ba831479ce28115c236f2c081912d26797df669..15b3530f6e1b870ec5721c03f3c19a3fb56475dd 100644
|
| --- a/third_party/libpng/pnglibconf.h
|
| +++ b/third_party/libpng/pnglibconf.h
|
| @@ -1,10 +1,10 @@
|
| -/* libpng 1.6.16 STANDARD API DEFINITION */
|
| +/* libpng 1.6.19 STANDARD API DEFINITION */
|
|
|
| /* pnglibconf.h - library build configuration */
|
|
|
| -/* Libpng version 1.6.16 - December 22, 2014 */
|
| +/* Libpng version 1.6.19 - November 12, 2015 */
|
|
|
| -/* Copyright (c) 1998-2014 Glenn Randers-Pehrson */
|
| +/* Copyright (c) 1998-2015 Glenn Randers-Pehrson */
|
|
|
| /* This code is released under the libpng license. */
|
| /* For conditions of distribution and use, see the disclaimer */
|
| @@ -97,13 +97,10 @@
|
| #define PNG_READ_tIME_SUPPORTED
|
| #define PNG_READ_tRNS_SUPPORTED
|
| #define PNG_READ_zTXt_SUPPORTED
|
| -/*#undef PNG_SAFE_LIMITS_SUPPORTED*/
|
| #define PNG_SAVE_INT_32_SUPPORTED
|
| #define PNG_SAVE_UNKNOWN_CHUNKS_SUPPORTED
|
| #define PNG_SEQUENTIAL_READ_SUPPORTED
|
| #define PNG_SETJMP_SUPPORTED
|
| -#define PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED
|
| -#define PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED
|
| #define PNG_SET_OPTION_SUPPORTED
|
| #define PNG_SET_UNKNOWN_CHUNKS_SUPPORTED
|
| #define PNG_SET_USER_LIMITS_SUPPORTED
|
| @@ -129,6 +126,7 @@
|
| #define PNG_WRITE_BGR_SUPPORTED
|
| #define PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED
|
| #define PNG_WRITE_COMPRESSED_TEXT_SUPPORTED
|
| +#define PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED
|
| #define PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED
|
| #define PNG_WRITE_FILLER_SUPPORTED
|
| #define PNG_WRITE_FILTER_SUPPORTED
|
| @@ -187,18 +185,24 @@
|
| /* end of options */
|
| /* settings */
|
| #define PNG_API_RULE 0
|
| -#define PNG_COST_SHIFT 3
|
| #define PNG_DEFAULT_READ_MACROS 1
|
| #define PNG_GAMMA_THRESHOLD_FIXED 5000
|
| #define PNG_IDAT_READ_SIZE PNG_ZBUF_SIZE
|
| #define PNG_INFLATE_BUF_SIZE 1024
|
| +#define PNG_LINKAGE_API extern
|
| +#define PNG_LINKAGE_CALLBACK extern
|
| +#define PNG_LINKAGE_DATA extern
|
| +#define PNG_LINKAGE_FUNCTION extern
|
| #define PNG_MAX_GAMMA_8 11
|
| #define PNG_QUANTIZE_BLUE_BITS 5
|
| #define PNG_QUANTIZE_GREEN_BITS 5
|
| #define PNG_QUANTIZE_RED_BITS 5
|
| #define PNG_TEXT_Z_DEFAULT_COMPRESSION (-1)
|
| #define PNG_TEXT_Z_DEFAULT_STRATEGY 0
|
| -#define PNG_WEIGHT_SHIFT 8
|
| +#define PNG_USER_CHUNK_CACHE_MAX 1000
|
| +#define PNG_USER_CHUNK_MALLOC_MAX 8000000
|
| +#define PNG_USER_HEIGHT_MAX 1000000
|
| +#define PNG_USER_WIDTH_MAX 1000000
|
| #define PNG_ZBUF_SIZE 8192
|
| #define PNG_ZLIB_VERNUM 0 /* unknown */
|
| #define PNG_Z_DEFAULT_COMPRESSION (-1)
|
|
|