Searched refs:file_header (Results 1 – 1 of 1) sorted by relevance
/PHP-8.2/ext/exif/ |
H A D | exif.c | 4312 unsigned char file_header[8]; in exif_scan_FILE_header() local 4319 if (exif_read_from_stream_file_looped(ImageInfo->infile, (char*)file_header, 2) != 2) { in exif_scan_FILE_header() 4322 if ((file_header[0]==0xff) && (file_header[1]==M_SOI)) { in exif_scan_FILE_header() 4330 if (exif_read_from_stream_file_looped(ImageInfo->infile, (char*)(file_header+2), 6) != 6) { in exif_scan_FILE_header() 4333 if (!memcmp(file_header, "II\x2A\x00", 4)) { in exif_scan_FILE_header() 4341 php_ifd_get32u(file_header + 4, ImageInfo->motorola_intel), in exif_scan_FILE_header() 4347 } else if (!memcmp(file_header, "MM\x00\x2a", 4)) { in exif_scan_FILE_header() 4355 php_ifd_get32u(file_header + 4, ImageInfo->motorola_intel), in exif_scan_FILE_header()
|
Completed in 25 milliseconds