Commit 2733482d8eb0cd3ee366148a7d5f2f5d8810d552

Cosmin Truta 2022-09-14T22:00:42

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.