2 parents 84a65f5 + 0548deb commit 635aae2Copy full SHA for 635aae2
1 file changed
Source/com/drew/metadata/exif/ExifDescriptorBase.java
@@ -844,7 +844,8 @@ public String getFlashDescription()
844
sb.append(", return not detected");
845
}
846
847
- if ((value & 0x10) != 0)
+ // If 0x10 is set and the lowest byte is not zero - then flash is Auto
848
+ if ((value & 0x10) != 0 && (value & 0x0F) != 0)
849
sb.append(", auto");
850
851
if ((value & 0x40) != 0)
0 commit comments