Bug 581192: Sync mozpngconf.h with libpng-1.4.3. (fix obsolete #defines for png_check_sig & png_set_dither) r=joe a=blocking
authorGlenn Randers-Pehrson <glennrp+bmo@gmail.com>
Mon, 26 Jul 2010 12:11:09 -0700
changeset 48214 9e8cdfcc09d2721eaa3e9a8c5a98c8a6a51ef72e
parent 48213 ce820bc4622933e6363c4928643b07c6add272e6
child 48215 a70e6679ab5f8e3b7bc5f175d2f59b784c30bd84
push idunknown
push userunknown
push dateunknown
reviewersjoe, blocking
bugs581192
milestone2.0b3pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 581192: Sync mozpngconf.h with libpng-1.4.3. (fix obsolete #defines for png_check_sig & png_set_dither) r=joe a=blocking
modules/libimg/png/mozpngconf.h
--- a/modules/libimg/png/mozpngconf.h
+++ b/modules/libimg/png/mozpngconf.h
@@ -159,17 +159,16 @@
 #define png_reset_zstream               MOZ_PNG_reset_zs              /* 1.0.7 */
 
 /* The following may have changed, or can be affected by conditional compilation
    choices, and will be mangled. */
 #define png_build_gamma_table           MOZ_PNG_build_gamma_tab
 #define png_build_grayscale_palette     MOZ_PNG_build_g_p
 #define png_calculate_crc               MOZ_PNG_calc_crc
 #define png_check_chunk_name            MOZ_PNG_ck_chunk_name
-#define png_check_sig                   MOZ_PNG_ck_sig
 #define png_chunk_error                 MOZ_PNG_chunk_err
 #define png_chunk_warning               MOZ_PNG_chunk_warn
 #define png_combine_row                 MOZ_PNG_combine_row
 #define png_convert_from_struct_tm      MOZ_PNG_cv_from_struct_tm
 #define png_convert_from_time_t         MOZ_PNG_cv_from_time_t
 #define png_convert_to_rfc1123          MOZ_PNG_cv_to_rfc1123
 #define png_crc_error                   MOZ_PNG_crc_error
 #define png_crc_finish                  MOZ_PNG_crc_finish
@@ -356,17 +355,17 @@
 #define png_set_cHRM_fixed              MOZ_PNG_set_cHRM_fixed
 #define png_set_compression_buffer_size MOZ_PNG_set_comp_buf_siz
 #define png_set_compression_level       MOZ_PNG_set_comp_level
 #define png_set_compression_mem_level   MOZ_PNG_set_comp_mem_lev
 #define png_set_compression_method      MOZ_PNG_set_comp_method
 #define png_set_compression_strategy    MOZ_PNG_set_comp_strategy
 #define png_set_compression_window_bits MOZ_PNG_set_comp_win_bits
 #define png_set_crc_action              MOZ_PNG_set_crc_action
-#define png_set_dither                  MOZ_PNG_set_dither
+#define png_set_quantize                MOZ_PNG_set_quantize
 #define png_set_error_fn                MOZ_PNG_set_error_fn
 #define png_set_expand                  MOZ_PNG_set_expand
 #define png_set_filler                  MOZ_PNG_set_filler
 #define png_set_filter                  MOZ_PNG_set_filter
 #define png_set_filter_heuristics       MOZ_PNG_set_filter_heur
 #define png_set_flush                   MOZ_PNG_set_flush
 #define png_set_gAMA                    MOZ_PNG_set_gAMA
 #define png_set_gAMA_fixed              MOZ_PNG_set_gAMA_fixed