commit | 2733482d8eb0cd3ee366148a7d5f2f5d8810d552 | [log] [tgz] |
---|---|---|
author | Cosmin Truta <ctruta@gmail.com> | Wed Sep 14 22:00:42 2022 +0300 |
committer | Cosmin Truta <ctruta@gmail.com> | Wed Sep 14 22:00:42 2022 +0300 |
tree | fcf681f6f9f63c0894bcbc5e1b357c824af82ea4 | |
parent | 3d57708c9166419b7f5e0bbda2f7a2149112c844 [diff] |
Fix a last-minute bug in the checking of the EXIF byte-order header The check should fail if the EXIF byte-order header doesn't start with a correct character, or if the two heading characters aren't identical. Rewrite the check to make the code logic easier to follow.