mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[master] Fixed atomicity of chunk header serialization (Cosmin)
and added test for io_state in pngtest.c (Cosmin)
This commit is contained in:
1
png.h
1
png.h
@@ -2657,6 +2657,7 @@ PNG_EXPORT(png_bytep,png_get_io_chunk_name)
|
||||
? -((png_int_32)((png_get_uint_32(buf) ^ 0xffffffffL) + 1)) \
|
||||
: (png_int_32)png_get_uint_32(buf)))
|
||||
#else
|
||||
PNG_EXPORT(png_uint_32,png_get_uint_32) PNGARG((png_bytep buf));
|
||||
PNG_EXPORT(png_uint_16,png_get_uint_16) PNGARG((png_bytep buf));
|
||||
#ifdef PNG_GET_INT_32_SUPPORTED
|
||||
PNG_EXPORT(png_int_32,png_get_int_32) PNGARG((png_bytep buf));
|
||||
|
||||
Reference in New Issue
Block a user