exiftool_vendored 12.18.0 → 12.22.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of exiftool_vendored might be problematic. Click here for more details.

Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/bin/Changes +54 -0
  3. data/bin/MANIFEST +1 -0
  4. data/bin/META.json +1 -1
  5. data/bin/META.yml +1 -1
  6. data/bin/README +2 -2
  7. data/bin/config_files/example.config +1 -8
  8. data/bin/exiftool +70 -32
  9. data/bin/fmt_files/gpx.fmt +1 -1
  10. data/bin/fmt_files/gpx_wpt.fmt +1 -1
  11. data/bin/fmt_files/kml.fmt +1 -1
  12. data/bin/fmt_files/kml_track.fmt +1 -1
  13. data/bin/lib/Image/ExifTool.pm +74 -24
  14. data/bin/lib/Image/ExifTool.pod +33 -25
  15. data/bin/lib/Image/ExifTool/Apple.pm +3 -2
  16. data/bin/lib/Image/ExifTool/BuildTagLookup.pm +20 -10
  17. data/bin/lib/Image/ExifTool/Canon.pm +6 -1
  18. data/bin/lib/Image/ExifTool/DJI.pm +6 -6
  19. data/bin/lib/Image/ExifTool/Exif.pm +5 -2
  20. data/bin/lib/Image/ExifTool/FITS.pm +13 -2
  21. data/bin/lib/Image/ExifTool/GPS.pm +22 -11
  22. data/bin/lib/Image/ExifTool/ICC_Profile.pm +2 -2
  23. data/bin/lib/Image/ExifTool/M2TS.pm +40 -4
  24. data/bin/lib/Image/ExifTool/MIE.pm +2 -2
  25. data/bin/lib/Image/ExifTool/Microsoft.pm +296 -82
  26. data/bin/lib/Image/ExifTool/Nikon.pm +2 -1
  27. data/bin/lib/Image/ExifTool/Olympus.pm +2 -2
  28. data/bin/lib/Image/ExifTool/QuickTime.pm +28 -12
  29. data/bin/lib/Image/ExifTool/QuickTimeStream.pl +6 -5
  30. data/bin/lib/Image/ExifTool/Shortcuts.pm +9 -0
  31. data/bin/lib/Image/ExifTool/Sony.pm +51 -17
  32. data/bin/lib/Image/ExifTool/TagInfoXML.pm +1 -0
  33. data/bin/lib/Image/ExifTool/TagLookup.pm +4031 -4022
  34. data/bin/lib/Image/ExifTool/TagNames.pod +130 -95
  35. data/bin/lib/Image/ExifTool/WriteExif.pl +1 -1
  36. data/bin/lib/Image/ExifTool/WriteQuickTime.pl +7 -5
  37. data/bin/lib/Image/ExifTool/Writer.pl +43 -10
  38. data/bin/lib/Image/ExifTool/XMP.pm +4 -4
  39. data/bin/perl-Image-ExifTool.spec +1 -1
  40. data/lib/exiftool_vendored/version.rb +1 -1
  41. metadata +20 -6
@@ -12,7 +12,7 @@ meta information extracted from or written to a file.
12
12
  =head1 TAG TABLES
13
13
 
14
14
  The tables listed below give the names of all tags recognized by ExifTool.
15
- They contain a total of 24077 tags, with 15588 unique tag names.
15
+ They contain a total of 24094 tags, with 15597 unique tag names.
16
16
 
17
17
  B<Tag ID>, B<Index#> or B<Sequence> is given in the first column of each
18
18
  table. A B<Tag ID> is the computer-readable equivalent of a tag name, and
@@ -5886,7 +5886,7 @@ Tags extracted from the maker notes of iPhone images.
5886
5886
  0x0008 AccelerationVector rational64s[3]
5887
5887
  0x000a HDRImageType int32s
5888
5888
  0x000b BurstUUID string
5889
- 0x0011 ContentIdentifier string
5889
+ 0x0011 MediaGroupUUID string
5890
5890
  0x0015 ImageUniqueID string
5891
5891
 
5892
5892
  =head3 Apple RunTime Tags
@@ -19200,6 +19200,11 @@ some models when the ExtractEmbedded option is used.
19200
19200
 
19201
19201
  Tag ID Tag Name Writable
19202
19202
  ------ -------- --------
19203
+ 0x8000 FNumber no
19204
+ 0x8109 ExposureTime no
19205
+ 0x810a MasterGainAdjustment no
19206
+ 0x810b ISO no
19207
+ 0x810c ElectricalExtenderMagnification no
19203
19208
  0x8500 GPSVersionID no
19204
19209
  0x8501 GPSLatitudeRef no
19205
19210
  0x8502 GPSLatitude no
@@ -19210,6 +19215,7 @@ some models when the ExtractEmbedded option is used.
19210
19215
  0x850a GPSMeasureMode no
19211
19216
  0x8512 GPSMapDatum no
19212
19217
  0x851d GPSDateStamp no
19218
+ 0xe303 WhiteBalance no
19213
19219
  0xe304 DateTime no
19214
19220
 
19215
19221
  =head2 SonyIDC Tags
@@ -22509,8 +22515,13 @@ Windows Live Photo Gallery.
22509
22515
 
22510
22516
  =head3 Microsoft Xtra Tags
22511
22517
 
22512
- Tags extracted from the Microsoft "Xtra" atom of QuickTime videos. Tag ID's
22513
- are not shown because some are unruly GUID's.
22518
+ Tags found in the Microsoft "Xtra" atom of QuickTime videos. Tag ID's are
22519
+ not shown because some are unruly GUID's. Currently most of these tags are
22520
+ not writable because the Microsoft documentation is poor and samples were
22521
+ not available, but more tags may be made writable in the future if samples
22522
+ are provided. Note that writable tags in this table are are flagged to
22523
+ "Avoid", which means that other more common tags will be written instead if
22524
+ possible unless the Microsoft group is specified explicitly.
22514
22525
 
22515
22526
  Tag Name Writable
22516
22527
  -------- --------
@@ -22522,13 +22533,13 @@ are not shown because some are unruly GUID's.
22522
22533
  AcquisitionTimeYear no
22523
22534
  AcquisitionTimeYearMonth no
22524
22535
  AcquisitionTimeYearMonthDay no
22525
- AlbumArtist no
22536
+ AlbumArtist Unicode/
22526
22537
  AlbumArtist no
22527
22538
  AlbumArtistSortOrder no
22528
- AlbumCoverURL no
22539
+ AlbumCoverURL Unicode/
22529
22540
  AlbumID no
22530
22541
  AlbumIDAlbumArtist no
22531
- AlbumTitle no
22542
+ AlbumTitle Unicode/
22532
22543
  AlbumTitle no
22533
22544
  AlbumTitleSortOrder no
22534
22545
  AlternateSourceURL no
@@ -22545,6 +22556,7 @@ are not shown because some are unruly GUID's.
22545
22556
  Author no
22546
22557
  Author no
22547
22558
  AuthorSortOrder no
22559
+ AuthorURL Unicode/
22548
22560
  AutoSummary no
22549
22561
  AverageLevel no
22550
22562
  BccAddresses no
@@ -22577,7 +22589,7 @@ are not shown because some are unruly GUID's.
22577
22589
  CameraModel no
22578
22590
  CameraModel no
22579
22591
  CarPhone no
22580
- Category no
22592
+ Category Unicode/+
22581
22593
  Category no
22582
22594
  CcAddresses no
22583
22595
  CcNames no
@@ -22596,13 +22608,13 @@ are not shown because some are unruly GUID's.
22596
22608
  Company no
22597
22609
  CompanyMainPhone no
22598
22610
  Complete no
22599
- Composer no
22611
+ Composer Unicode/
22600
22612
  Composers no
22601
22613
  Computer no
22602
- Conductor no
22614
+ Conductor Unicode/+
22603
22615
  Conductors no
22604
22616
  ContactNames no
22605
- ContentDistributor no
22617
+ ContentDistributor Unicode/
22606
22618
  ContentDistributorDuration no
22607
22619
  ContentDistributorType no
22608
22620
  ContentGroupDescription no
@@ -22625,7 +22637,7 @@ are not shown because some are unruly GUID's.
22625
22637
  DataRate no
22626
22638
  Date no
22627
22639
  DateAccessed no
22628
- DateAcquired no
22640
+ DateAcquired vt_filetime/
22629
22641
  DateArchived no
22630
22642
  DateCompleted no
22631
22643
  DateCreated no
@@ -22642,7 +22654,7 @@ are not shown because some are unruly GUID's.
22642
22654
  Description no
22643
22655
  Description no
22644
22656
  Dimensions no
22645
- Director no
22657
+ Director Unicode/+
22646
22658
  Directors no
22647
22659
  DisplayArtist no
22648
22660
  Division no
@@ -22656,8 +22668,9 @@ are not shown because some are unruly GUID's.
22656
22668
  E-mailAddress no
22657
22669
  E-mailDisplayName no
22658
22670
  E-mailList no
22671
+ EncodedBy Unicode/
22659
22672
  EncodedBy no
22660
- EncodingTime no
22673
+ EncodingTime date/
22661
22674
  EndDate no
22662
22675
  EntryType no
22663
22676
  EpisodeName no
@@ -22715,7 +22728,7 @@ are not shown because some are unruly GUID's.
22715
22728
  ISOSpeed no
22716
22729
  Importance no
22717
22730
  Incomplete no
22718
- InitialKey no
22731
+ InitialKey Unicode/
22719
22732
  InitialKey no
22720
22733
  Initials no
22721
22734
  IsAttachment no
@@ -22749,8 +22762,8 @@ are not shown because some are unruly GUID's.
22749
22762
  MCDI no
22750
22763
  MailingAddress no
22751
22764
  MaxAperture no
22752
- MediaClassPrimaryID no
22753
- MediaClassSecondaryID no
22765
+ MediaClassPrimaryID GUID/
22766
+ MediaClassSecondaryID GUID/
22754
22767
  MediaContentTypes no
22755
22768
  MediaCreated no
22756
22769
  MediaOriginalBroadcastDateTime no
@@ -22761,7 +22774,7 @@ are not shown because some are unruly GUID's.
22761
22774
  MiddleName no
22762
22775
  Mileage no
22763
22776
  ModifiedBy no
22764
- Mood no
22777
+ Mood Unicode/
22765
22778
  Mood no
22766
22779
  MoreInfo no
22767
22780
  Name no
@@ -22774,9 +22787,9 @@ are not shown because some are unruly GUID's.
22774
22787
  OrganizerAddress no
22775
22788
  OrganizerName no
22776
22789
  Orientation no
22777
- OriginalAlbumTitle no
22778
- OriginalArtist no
22779
- OriginalLyricist no
22790
+ OriginalAlbumTitle Unicode/
22791
+ OriginalArtist Unicode/
22792
+ OriginalLyricist Unicode/
22780
22793
  OtherAddress no
22781
22794
  OtherCity no
22782
22795
  OtherCountry-Region no
@@ -22788,7 +22801,7 @@ are not shown because some are unruly GUID's.
22788
22801
  POBox no
22789
22802
  Pager no
22790
22803
  Pages no
22791
- ParentalRating no
22804
+ ParentalRating Unicode/
22792
22805
  ParentalRating no
22793
22806
  ParentalRatingReason no
22794
22807
  PartOfSet no
@@ -22798,7 +22811,7 @@ are not shown because some are unruly GUID's.
22798
22811
  Path no
22799
22812
  PeakValue no
22800
22813
  PerceivedType no
22801
- Period no
22814
+ Period Unicode/
22802
22815
  Period no
22803
22816
  PersonalTitle no
22804
22817
  PixelAspectRatioX no
@@ -22808,7 +22821,7 @@ are not shown because some are unruly GUID's.
22808
22821
  PrimaryE-mail no
22809
22822
  PrimaryPhone no
22810
22823
  Priority no
22811
- Producer no
22824
+ Producer Unicode/+
22812
22825
  Producers no
22813
22826
  ProductName no
22814
22827
  ProductVersion no
@@ -22817,15 +22830,16 @@ are not shown because some are unruly GUID's.
22817
22830
  ProgramMode no
22818
22831
  ProgramName no
22819
22832
  Project no
22833
+ PromotionURL Unicode/
22820
22834
  Protected no
22821
22835
  ProtectionType no
22822
22836
  Provider no
22823
- Provider no
22837
+ Provider Unicode/
22824
22838
  ProviderLogoURL no
22825
22839
  ProviderRating no
22826
22840
  ProviderStyle no
22827
22841
  ProviderURL no
22828
- Publisher no
22842
+ Publisher Unicode/
22829
22843
  Publisher no
22830
22844
  RadioBand no
22831
22845
  RadioFormat no
@@ -22859,7 +22873,7 @@ are not shown because some are unruly GUID's.
22859
22873
  Sensitivity no
22860
22874
  ShadowFilePath no
22861
22875
  Shared no
22862
- SharedUserRating no
22876
+ SharedUserRating int64u/
22863
22877
  SharedWith no
22864
22878
  Size no
22865
22879
  Slides no
@@ -22880,7 +22894,7 @@ are not shown because some are unruly GUID's.
22880
22894
  Subject no
22881
22895
  SubjectDistance no
22882
22896
  SubscriptionContentID no
22883
- Subtitle no
22897
+ Subtitle Unicode/
22884
22898
  Subtitle no
22885
22899
  SubtitleDescription no
22886
22900
  Suffix no
@@ -22959,7 +22973,7 @@ are not shown because some are unruly GUID's.
22959
22973
  WhiteBalance no
22960
22974
  WindowsFileName no
22961
22975
  WordCount no
22962
- Writer no
22976
+ Writer Unicode/
22963
22977
  Writers no
22964
22978
  Year no
22965
22979
  Year no
@@ -25697,11 +25711,13 @@ L<UserData|Image::ExifTool::TagNames/QuickTime UserData Tags>, and
25697
25711
  finally in L<Keys|Image::ExifTool::TagNames/QuickTime Keys Tags>,
25698
25712
  but this order may be changed by setting the PREFERRED level of the
25699
25713
  appropriate table in the config file (see
25700
- example.config in the full distribution for
25701
- an example). ExifTool currently writes only top-level metadata in
25702
- QuickTime-based files; it extracts other track-specific and timed
25703
- metadata, but can not yet edit tags in these locations (with the
25704
- exception of track-level date/time tags).
25714
+ example.config in the full distribution for an
25715
+ example). Note that some tags with the same name but different ID's may
25716
+ exist in the same location, but the family 7 group names may be used to
25717
+ differentiate these. ExifTool currently writes only top-level metadata in
25718
+ QuickTime-based files; it extracts other track-specific and timed metadata,
25719
+ but can not yet edit tags in these locations (with the exception of
25720
+ track-level date/time tags).
25705
25721
 
25706
25722
  Alternate language tags may be accessed for
25707
25723
  L<ItemList|Image::ExifTool::TagNames/QuickTime ItemList Tags> and
@@ -25726,8 +25742,8 @@ local time when extracting.
25726
25742
 
25727
25743
  When writing string-based date/time tags, the system time zone is added if
25728
25744
  the PrintConv option is enabled and no time zone is specified. This is
25729
- because Apple software may display a crazy values if the time zone is
25730
- missing for some tags.
25745
+ because Apple software may display crazy values if the time zone is missing
25746
+ for some tags.
25731
25747
 
25732
25748
  See
25733
25749
  L<https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/>
@@ -25801,7 +25817,7 @@ Tags found in Pittasoft Blackvue dashcam "free" data.
25801
25817
 
25802
25818
  Timed metadata extracted from QuickTime media data and some AVI videos when
25803
25819
  the ExtractEmbedded option is used. Although most of these tags are
25804
- combined into the single table below, ExifTool currently reads 49 different
25820
+ combined into the single table below, ExifTool currently reads 51 different
25805
25821
  formats of timed GPS metadata from video files.
25806
25822
 
25807
25823
  Tag Name Writable
@@ -25991,66 +26007,75 @@ either of these tables, either the "Keys" location must be specified (eg.
25991
26007
  C<-Keys:Author=Phil> on the command line), or the PREFERRED level must be
25992
26008
  changed via the config file.
25993
26009
 
25994
- Tag ID Tag Name Writable
25995
- ------ -------- --------
25996
- 'Encoded_With' EncodedWith string
25997
- 'album' Album string
25998
- 'artist' Artist string
25999
- 'artwork' Artwork string
26000
- 'author' Author string
26010
+ Tag ID Tag Name Writable
26011
+ ------ -------- --------
26012
+ 'Encoded_With' EncodedWith yes
26013
+ 'album' Album yes
26014
+ 'apple.photos.variation-identifier'
26015
+ ApplePhotosVariationIdentifier int64s
26016
+ 'artist' Artist yes
26017
+ 'artwork' Artwork yes
26018
+ 'author' Author yes
26001
26019
  'camera.framereadouttimeinmicroseconds'
26002
- FrameReadoutTime string
26003
- 'camera.identifier' CameraIdentifier string
26004
- 'collection.user' UserCollection string
26005
- 'com.android.version' AndroidVersion string
26006
- 'com.apple.photos.captureMode' CaptureMode string
26007
- 'comment' Comment string
26008
- 'copyright' Copyright string
26009
- 'creationdate' CreationDate string
26010
- 'description' Description string
26011
- 'detected-face' FaceInfo QuickTime FaceInfo
26012
- 'detected-face.bounds' DetectedFaceBounds no
26020
+ FrameReadoutTime yes
26021
+ 'camera.identifier' CameraIdentifier yes
26022
+ 'collection.user' UserCollection yes
26023
+ 'com.android.version' AndroidVersion yes
26024
+ 'com.apple.photos.captureMode' CaptureMode yes
26025
+ 'comment' Comment yes
26026
+ 'copyright' Copyright yes
26027
+ 'creationdate' CreationDate yes
26028
+ 'description' Description yes
26029
+ 'detected-face' FaceInfo QuickTime FaceInfo
26030
+ 'detected-face.bounds' DetectedFaceBounds no
26013
26031
  'detected-face.face-id' DetectedFaceID no
26014
26032
  'detected-face.roll-angle'
26015
- DetectedFaceRollAngle no
26033
+ DetectedFaceRollAngle no
26016
26034
  'detected-face.yaw-angle'
26017
- DetectedFaceYawAngle no
26018
- 'direction.facing' CameraDirection string
26019
- 'direction.motion' CameraMotion string
26020
- 'director' Director string
26021
- 'displayname' DisplayName string
26022
- 'genre' Genre string
26023
- 'information' Information string
26024
- 'keywords' Keywords string
26025
- 'live-photo-info' LivePhotoInfo no
26026
- 'location.ISO6709' GPSCoordinates string
26027
- 'location.body' LocationBody string
26028
- 'location.date' LocationDate string
26029
- 'location.name' LocationName string
26030
- 'location.note' LocationNote string
26031
- 'location.role' LocationRole string
26032
- 'make' Make string
26033
- 'model' Model string
26034
- 'player.movie.audio.balance' Balance string
26035
- 'player.movie.audio.bass' Bass string
26036
- 'player.movie.audio.gain' AudioGain string
26035
+ DetectedFaceYawAngle no
26036
+ 'direction.facing' CameraDirection yes
26037
+ 'direction.motion' CameraMotion yes
26038
+ 'director' Director yes
26039
+ 'displayname' DisplayName yes
26040
+ 'genre' Genre yes
26041
+ 'information' Information yes
26042
+ 'keywords' Keywords yes
26043
+ 'live-photo-info' LivePhotoInfo no
26044
+ 'live-photo.auto' LivePhotoAuto int8u
26045
+ 'live-photo.vitality-score'
26046
+ LivePhotoVitalityScore float
26047
+ 'live-photo.vitality-scoring-version'
26048
+ LivePhotoVitalityScoringVersion int64s
26049
+ 'location.ISO6709' GPSCoordinates yes
26050
+ 'location.accuracy.horizontal'
26051
+ LocationAccuracyHorizontal yes
26052
+ 'location.body' LocationBody yes
26053
+ 'location.date' LocationDate yes
26054
+ 'location.name' LocationName yes
26055
+ 'location.note' LocationNote yes
26056
+ 'location.role' LocationRole yes
26057
+ 'make' Make yes
26058
+ 'model' Model yes
26059
+ 'player.movie.audio.balance' Balance yes
26060
+ 'player.movie.audio.bass' Bass yes
26061
+ 'player.movie.audio.gain' AudioGain yes
26037
26062
  'player.movie.audio.mute' Mute int8u
26038
- 'player.movie.audio.pitchshift' PitchShift string
26039
- 'player.movie.audio.treble' Trebel string
26040
- 'player.movie.visual.brightness' Brightness string
26041
- 'player.movie.visual.color' Color string
26042
- 'player.movie.visual.contrast' Contrast string
26043
- 'player.movie.visual.tint' Tint string
26044
- 'player.version' PlayerVersion string
26045
- 'producer' Producer string
26046
- 'publisher' Publisher string
26047
- 'rating.user' UserRating string
26048
- 'software' Software string
26049
- 'still-image-time' StillImageTime no
26050
- 'title' Title string
26051
- 'version' Version string
26052
- 'video-orientation' VideoOrientation no
26053
- 'year' Year string
26063
+ 'player.movie.audio.pitchshift' PitchShift yes
26064
+ 'player.movie.audio.treble' Trebel yes
26065
+ 'player.movie.visual.brightness' Brightness yes
26066
+ 'player.movie.visual.color' Color yes
26067
+ 'player.movie.visual.contrast' Contrast yes
26068
+ 'player.movie.visual.tint' Tint yes
26069
+ 'player.version' PlayerVersion yes
26070
+ 'producer' Producer yes
26071
+ 'publisher' Publisher yes
26072
+ 'rating.user' UserRating yes
26073
+ 'software' Software yes
26074
+ 'still-image-time' StillImageTime no
26075
+ 'title' Title yes
26076
+ 'version' Version yes
26077
+ 'video-orientation' VideoOrientation no
26078
+ 'year' Year yes
26054
26079
 
26055
26080
  =head3 QuickTime FaceInfo Tags
26056
26081
 
@@ -26167,9 +26192,9 @@ this table support alternate languages which are accessed by adding a
26167
26192
  3-character ISO 639-2 language code and an optional ISO 3166-1 alpha 2
26168
26193
  country code to the tag name (eg. "ItemList:Title-fra" or
26169
26194
  "ItemList::Title-fra-FR"). When creating a new Meta box to contain the
26170
- ItemList directory, by default ExifTool does not specify a
26171
- L<Handler|Image::ExifTool::TagNames/QuickTime Handler Tags>, but the
26172
- API QuickTimeHandler option may be used to include an 'mdir' Handler box.
26195
+ ItemList directory, by default ExifTool adds an 'mdir' (Metadata) Handler
26196
+ box because Apple software may ignore ItemList tags otherwise, but the API
26197
+ QuickTimeHandler option may be set to 0 to avoid this.
26173
26198
 
26174
26199
  Tag ID Tag Name Writable
26175
26200
  ------ -------- --------
@@ -33740,9 +33765,11 @@ L<https://fits.gsfc.nasa.gov/fits_standard.html> for the specification.
33740
33765
  ------ -------- --------
33741
33766
  'AUTHOR' Author no
33742
33767
  'BACKGRND' Background no
33768
+ 'COMMENT' Comment no
33743
33769
  'DATE' CreateDate no
33744
33770
  'DATE-END' ObservationDateEnd no
33745
33771
  'DATE-OBS' ObservationDate no
33772
+ 'HISTORY' History no
33746
33773
  'INSTRUME' Instrument no
33747
33774
  'OBJECT' Object no
33748
33775
  'OBSERVER' Observer no
@@ -35024,6 +35051,7 @@ FileName.
35024
35051
  Tag Name Group Writable
35025
35052
  -------- ----- --------
35026
35053
  Adobe Adobe yes!
35054
+ BaseName System no
35027
35055
  CanonDR4 CanonVRD yes!^
35028
35056
  CanonVRD CanonVRD yes!^
35029
35057
  Comment File yes
@@ -35656,6 +35684,13 @@ for more details.
35656
35684
  InteropIFD:InteropVersion
35657
35685
  InteropIFD:RelatedImageWidth
35658
35686
  InteropIFD:RelatedImageHeight
35687
+ ls-l FilePermissions yes
35688
+ FileHardLinks
35689
+ FileUserID
35690
+ FileGroupID
35691
+ FileSize#
35692
+ FileModifyDate
35693
+ FileName
35659
35694
 
35660
35695
  =head2 MWG Tags
35661
35696
 
@@ -548,7 +548,7 @@ sub WriteExif($$$)
548
548
  my $mustRead;
549
549
  if ($dirStart < 0 or $dirStart > $dataLen-2) {
550
550
  $mustRead = 1;
551
- } elsif ($dirLen > 2) {
551
+ } elsif ($dirLen >= 2) {
552
552
  my $len = 2 + 12 * Get16u($dataPt, $dirStart);
553
553
  $mustRead = 1 if $dirStart + $len > $dataLen;
554
554
  }