summaryrefslogtreecommitdiff
blob: 4c25959112993e7cc983d4ffb5ead480f2c1970d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
http://bugs.gentoo.org/308741
http://aur.archlinux.org/packages/gtkatlantic/gtkatlantic/libpng14.patch

--- src/readpng.c
+++ src/readpng.c
@@ -33,7 +33,7 @@ gboolean readpng_init(FILE *infile, png_
 	png_uint_32 width, height;
 
 	fread(sig, 1, 8, infile);
-	if (!png_check_sig(sig, 8))
+	if (png_sig_cmp(sig, 0, 8))
 		return FALSE;
 
 	*png_struct = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);