View | Details | Raw Unified | Return to bug 145106
Collapse All | Expand All

(-)png.c (-2 / +2 lines)
Lines 11-17 Link Here
11
11
12
#define TITLE_KEYWORD "Title"
12
#define TITLE_KEYWORD "Title"
13
13
14
/* check to see if a file is a png file using png_check_sig() */
14
/* check to see if a file is a png file using png_sig_cmp() */
15
static int check_png(char *file_name)
15
static int check_png(char *file_name)
16
{
16
{
17
	ZFILE *zfp;
17
	ZFILE *zfp;
Lines 27-33 Link Here
27
	if (ret != 8)
27
	if (ret != 8)
28
		return 0;
28
		return 0;
29
29
30
	ret = png_check_sig(buf, 8);
30
	ret = png_sig_cmp(buf, 0, 8);
31
31
32
	return (ret);
32
	return (ret);
33
}
33
}

Return to bug 145106