Searched refs:file_header (Results 1 – 1 of 1) sorted by relevance
/PHP-8.0/ext/exif/ |
H A D | exif.c | 4274 unsigned char file_header[8]; in exif_scan_FILE_header() local 4281 if (php_stream_read(ImageInfo->infile, (char*)file_header, 2) != 2) { in exif_scan_FILE_header() 4284 if ((file_header[0]==0xff) && (file_header[1]==M_SOI)) { in exif_scan_FILE_header() 4292 if (php_stream_read(ImageInfo->infile, (char*)(file_header+2), 6) != 6) { in exif_scan_FILE_header() 4295 if (!memcmp(file_header, "II\x2A\x00", 4)) { in exif_scan_FILE_header() 4303 php_ifd_get32u(file_header + 4, ImageInfo->motorola_intel), in exif_scan_FILE_header() 4309 } else if (!memcmp(file_header, "MM\x00\x2a", 4)) { in exif_scan_FILE_header() 4317 php_ifd_get32u(file_header + 4, ImageInfo->motorola_intel), in exif_scan_FILE_header()
|
Completed in 19 milliseconds