Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 308741
Collapse All | Expand All

(-)gtkatlantic-0.4.2.orig//src/readpng.c (-1 / +1 lines)
Lines 33-39 gboolean readpng_init(FILE *infile, png_ Link Here
33
	png_uint_32 width, height;
33
	png_uint_32 width, height;
34
34
35
	fread(sig, 1, 8, infile);
35
	fread(sig, 1, 8, infile);
36
	if (!png_check_sig(sig, 8))
36
	if (png_sig_cmp(sig, 0, 8))
37
		return FALSE;
37
		return FALSE;
38
38
39
	*png_struct = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
39
	*png_struct = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);

Return to bug 308741