mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[master] Eliminated new unnecessary #if tests regarding the sCAL chunk
from pngrutil.c
This commit is contained in:
parent
41ffb1c950
commit
b08f330d62
5
ANNOUNCE
5
ANNOUNCE
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Libpng 1.4.4beta07 - August 23, 2010
|
Libpng 1.4.4beta07 - August 24, 2010
|
||||||
|
|
||||||
This is not intended to be a public release. It will be replaced
|
This is not intended to be a public release. It will be replaced
|
||||||
within a few weeks by a public version or by another test version.
|
within a few weeks by a public version or by another test version.
|
||||||
@ -58,7 +58,7 @@ version 1.4.4beta06 [August 11, 2010]
|
|||||||
Don't try to use version-script with cygwin/mingw.
|
Don't try to use version-script with cygwin/mingw.
|
||||||
Revised contrib/gregbook to work under cygwin/mingw.
|
Revised contrib/gregbook to work under cygwin/mingw.
|
||||||
|
|
||||||
version 1.4.4beta07 [August 23, 2010]
|
version 1.4.4beta07 [August 24, 2010]
|
||||||
Updated prebuilt aclocal.m4 and ltmain.sh
|
Updated prebuilt aclocal.m4 and ltmain.sh
|
||||||
Add .dll.a to the list of extensions to be symlinked by Makefile.am (Yaakov)
|
Add .dll.a to the list of extensions to be symlinked by Makefile.am (Yaakov)
|
||||||
Updated CMakelists.txt to use CMAKE_INSTALL_LIBDIR variable; useful for
|
Updated CMakelists.txt to use CMAKE_INSTALL_LIBDIR variable; useful for
|
||||||
@ -68,6 +68,7 @@ version 1.4.4beta07 [August 23, 2010]
|
|||||||
Changed PNG_LIB_NAME from pngNN to libpngNN in CMakeLists.txt (Philip Lowman)
|
Changed PNG_LIB_NAME from pngNN to libpngNN in CMakeLists.txt (Philip Lowman)
|
||||||
Moved "#include pngusr.h" ahead of PNG_USER_PRIVATEBUILD test in pngconf.h
|
Moved "#include pngusr.h" ahead of PNG_USER_PRIVATEBUILD test in pngconf.h
|
||||||
Eliminated a deprecated reference to png_ptr->io_ptr in pngtest.c
|
Eliminated a deprecated reference to png_ptr->io_ptr in pngtest.c
|
||||||
|
Eliminated new unnecessary #if tests regarding the sCAL chunk from pngrutil.c
|
||||||
|
|
||||||
Send comments/corrections/commendations to glennrp at users.sourceforge.net
|
Send comments/corrections/commendations to glennrp at users.sourceforge.net
|
||||||
or to png-mng-implement at lists.sf.net (subscription required; visit
|
or to png-mng-implement at lists.sf.net (subscription required; visit
|
||||||
|
3
CHANGES
3
CHANGES
@ -2642,7 +2642,7 @@ version 1.4.4beta06 [August 11, 2010]
|
|||||||
Don't try to use version-script with cygwin/mingw.
|
Don't try to use version-script with cygwin/mingw.
|
||||||
Revised contrib/gregbook to work under cygwin/mingw.
|
Revised contrib/gregbook to work under cygwin/mingw.
|
||||||
|
|
||||||
version 1.4.4beta07 [August 23, 2010]
|
version 1.4.4beta07 [August 24, 2010]
|
||||||
Updated prebuilt aclocal.m4 and ltmain.sh
|
Updated prebuilt aclocal.m4 and ltmain.sh
|
||||||
Add .dll.a to the list of extensions to be symlinked by Makefile.am (Yaakov)
|
Add .dll.a to the list of extensions to be symlinked by Makefile.am (Yaakov)
|
||||||
Updated CMakeLists.txt to use CMAKE_INSTALL_LIBDIR variable; useful for
|
Updated CMakeLists.txt to use CMAKE_INSTALL_LIBDIR variable; useful for
|
||||||
@ -2652,6 +2652,7 @@ version 1.4.4beta07 [August 23, 2010]
|
|||||||
Changed PNG_LIB_NAME from pngNN to libpngNN in CMakeLists.txt (Philip Lowman)
|
Changed PNG_LIB_NAME from pngNN to libpngNN in CMakeLists.txt (Philip Lowman)
|
||||||
Moved "#include pngusr.h" ahead of PNG_USER_PRIVATEBUILD test in pngconf.h
|
Moved "#include pngusr.h" ahead of PNG_USER_PRIVATEBUILD test in pngconf.h
|
||||||
Eliminated a deprecated reference to png_ptr->io_ptr in pngtest.c
|
Eliminated a deprecated reference to png_ptr->io_ptr in pngtest.c
|
||||||
|
Eliminated new unnecessary #if tests regarding the sCAL chunk from pngrutil.c
|
||||||
|
|
||||||
Send comments/corrections/commendations to glennrp at users.sourceforge.net
|
Send comments/corrections/commendations to glennrp at users.sourceforge.net
|
||||||
or to png-mng-implement at lists.sf.net (subscription required; visit
|
or to png-mng-implement at lists.sf.net (subscription required; visit
|
||||||
|
@ -1878,9 +1878,6 @@ png_handle_sCAL(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
|
|||||||
png_warning(png_ptr, "malformed height string in sCAL chunk");
|
png_warning(png_ptr, "malformed height string in sCAL chunk");
|
||||||
png_free(png_ptr, png_ptr->chunkdata);
|
png_free(png_ptr, png_ptr->chunkdata);
|
||||||
png_ptr->chunkdata = NULL;
|
png_ptr->chunkdata = NULL;
|
||||||
#if defined(PNG_FIXED_POINT_SUPPORTED) && !defined(PNG_FLOATING_POINT_SUPPORTED)
|
|
||||||
png_free(png_ptr, swidth);
|
|
||||||
#endif
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@ -1891,9 +1888,7 @@ png_handle_sCAL(png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
|
|||||||
png_warning(png_ptr, "Out of memory while processing sCAL chunk height");
|
png_warning(png_ptr, "Out of memory while processing sCAL chunk height");
|
||||||
png_free(png_ptr, png_ptr->chunkdata);
|
png_free(png_ptr, png_ptr->chunkdata);
|
||||||
png_ptr->chunkdata = NULL;
|
png_ptr->chunkdata = NULL;
|
||||||
#if defined(PNG_FIXED_POINT_SUPPORTED) && !defined(PNG_FLOATING_POINT_SUPPORTED)
|
|
||||||
png_free(png_ptr, swidth);
|
png_free(png_ptr, swidth);
|
||||||
#endif
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
png_memcpy(sheight, ep, png_strlen(ep));
|
png_memcpy(sheight, ep, png_strlen(ep));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user