6959123: Remove use of obsolete png_check_sig function in splashscreen_png.c
Summary: Avoid use of deprecated libpng macro (removed in some 1.4.x releases)
Reviewed-by: prr
--- a/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c Sat May 29 23:26:16 2010 -0700
+++ b/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c Tue Jun 08 17:52:47 2010 +0100
@@ -182,7 +182,7 @@
int success = 0;
stream->read(stream, sig, SIG_BYTES);
- if (!png_check_sig(sig, SIG_BYTES)) {
+ if (png_sig_cmp(sig, 0, SIG_BYTES)) {
goto done;
}
success = SplashDecodePng(splash, my_png_read_stream, stream);