@@ -330,7 +330,7 @@ static char *exif_get_tagformat(int format)
330330#define TAG_BITS_PER_SAMPLE 0x0102
331331#define TAG_COMPRESSION 0x0103
332332#define TAG_PHOTOMETRIC_INTERPRETATION 0x0106
333- #define TAG_TRESHHOLDING 0x0107
333+ #define TAG_THRESHOLDING 0x0107
334334#define TAG_CELL_WIDTH 0x0108
335335#define TAG_CELL_HEIGHT 0x0109
336336#define TAG_FILL_ORDER 0x010A
@@ -343,7 +343,7 @@ static char *exif_get_tagformat(int format)
343343#define TAG_SAMPLES_PER_PIXEL 0x0115
344344#define TAG_ROWS_PER_STRIP 0x0116
345345#define TAG_STRIP_BYTE_COUNTS 0x0117
346- #define TAG_MIN_SAMPPLE_VALUE 0x0118
346+ #define TAG_MIN_SAMPLE_VALUE 0x0118
347347#define TAG_MAX_SAMPLE_VALUE 0x0119
348348#define TAG_X_RESOLUTION 0x011A
349349#define TAG_Y_RESOLUTION 0x011B
@@ -372,7 +372,7 @@ static char *exif_get_tagformat(int format)
372372#define TAG_TILE_OFFSETS 0x0144
373373#define TAG_TILE_BYTE_COUNTS 0x0145
374374#define TAG_SUB_IFD 0x014A
375- #define TAG_INK_SETMPUTER 0x014C
375+ #define TAG_INK_SET 0x014C
376376#define TAG_INK_NAMES 0x014D
377377#define TAG_NUMBER_OF_INKS 0x014E
378378#define TAG_DOT_RANGE 0x0150
@@ -412,7 +412,7 @@ static char *exif_get_tagformat(int format)
412412#define TAG_EXIF_IFD_POINTER 0x8769
413413#define TAG_ICC_PROFILE 0x8773
414414#define TAG_EXPOSURE_PROGRAM 0x8822
415- #define TAG_SPECTRAL_SENSITY 0x8824
415+ #define TAG_SPECTRAL_SENSITIVITY 0x8824
416416#define TAG_GPS_IFD_POINTER 0x8825
417417#define TAG_ISOSPEED 0x8827
418418#define TAG_OPTOELECTRIC_CONVERSION_F 0x8828
@@ -685,7 +685,7 @@ static tag_info_array tag_table_IFD = {
685685 { 0x8769 , "Exif_IFD_Pointer" },
686686 { 0x8773 , "ICC_Profile" },
687687 { 0x8822 , "ExposureProgram" },
688- { 0x8824 , "SpectralSensity " },
688+ { 0x8824 , "SpectralSensitivity " },
689689 { 0x8825 , "GPS_IFD_Pointer" },
690690 { 0x8827 , "ISOSpeedRatings" },
691691 { 0x8828 , "OECF" },
@@ -3206,7 +3206,7 @@ static bool exif_process_IFD_in_MAKERNOTE(image_info_type *ImageInfo, char * val
32063206
32073207 /* It can be that motorola_intel is wrongly mapped, let's try inverting it */
32083208 if ((2 + NumDirEntries * 12 ) > value_len ) {
3209- exif_error_docref (NULL EXIFERR_CC , ImageInfo , E_NOTICE , "Potentially invalid endianess , trying again with different endianness before imminent failure." );
3209+ exif_error_docref (NULL EXIFERR_CC , ImageInfo , E_NOTICE , "Potentially invalid endianness , trying again with different endianness before imminent failure." );
32103210
32113211 ImageInfo -> motorola_intel = ImageInfo -> motorola_intel == 0 ? 1 : 0 ;
32123212 NumDirEntries = php_ifd_get16u (dir_start , ImageInfo -> motorola_intel );
@@ -3479,7 +3479,7 @@ static bool exif_process_IFD_TAG_impl(image_info_type *ImageInfo, char *dir_entr
34793479 break ;
34803480
34813481 case TAG_SUBJECT_DISTANCE :
3482- /* Inidcates the distacne the autofocus camera is focused to.
3482+ /* Indicates the distance the autofocus camera is focused to.
34833483 Tends to be less accurate as distance increases. */
34843484 REQUIRE_NON_EMPTY ();
34853485 ImageInfo -> Distance = (float )exif_convert_any_format (value_ptr , format , ImageInfo -> motorola_intel );
@@ -3497,7 +3497,7 @@ static bool exif_process_IFD_TAG_impl(image_info_type *ImageInfo, char *dir_entr
34973497 break ;
34983498
34993499 case 3 : ImageInfo -> FocalplaneUnits = 10 ; break ; /* centimeter */
3500- case 4 : ImageInfo -> FocalplaneUnits = 1 ; break ; /* milimeter */
3500+ case 4 : ImageInfo -> FocalplaneUnits = 1 ; break ; /* millimeter */
35013501 case 5 : ImageInfo -> FocalplaneUnits = .001 ; break ; /* micrometer */
35023502 }
35033503 break ;
@@ -4122,7 +4122,7 @@ static bool exif_process_IFD_in_TIFF_impl(image_info_type *ImageInfo, size_t dir
41224122 }
41234123 } else {
41244124 entry_offset = php_ifd_get32u (dir_entry + 8 , ImageInfo -> motorola_intel );
4125- /* if entry needs expading ifd cache and entry is at end of current ifd cache. */
4125+ /* if entry needs expanding ifd cache and entry is at end of current ifd cache. */
41264126 /* otherwise there may be huge holes between two entries */
41274127 if (entry_offset + entry_length > dir_offset + ifd_size
41284128 && entry_offset == dir_offset + ifd_size ) {
0 commit comments