Searched refs:PNG_BYTES_TO_CHECK (Results 1 – 2 of 2) sorted by relevance
244 #define PNG_BYTES_TO_CHECK 4247 char buf[PNG_BYTES_TO_CHECK];254 if (fread(buf, 1, PNG_BYTES_TO_CHECK, *fp) != PNG_BYTES_TO_CHECK)260 return(!png_sig_cmp(buf, (png_size_t)0, PNG_BYTES_TO_CHECK));
100 #define PNG_BYTES_TO_CHECK 4 macro993 char buf[PNG_BYTES_TO_CHECK]; in is_png()994 if (stream->read(buf, PNG_BYTES_TO_CHECK) == PNG_BYTES_TO_CHECK && in is_png()995 !png_sig_cmp((png_bytep) buf, (png_size_t)0, PNG_BYTES_TO_CHECK)) { in is_png()