A couple problems with corrupted Olympus-style MakerNote tags are fixed.
authorDan Fandrich <dan@coneharvesters.com>
Thu, 11 Dec 2008 06:57:41 +0000 (22:57 -0800)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 11 Dec 2008 06:57:41 +0000 (22:57 -0800)
commit83f34a51b4f40ee29b350887f7e5f601220eb26f
treed746046166abd5e50fe605ed023bfc21c4986da5
parent508cd94f0eb2ce8b5516bd378ec76bb5e2d660dc
A couple problems with corrupted Olympus-style MakerNote tags are fixed.
First, corrupted MakerNote tags are dropped instead of causing the tag
to be filled with garbage data. Second, a bug in some Sanyo cameras
causes the MNOTE_OLYMPUS_TAG_THUMBNAILIMAGE data offset to be stored
as an absolute offset in the file instead of relative to the IFD. An
attempt is now made to detect and work around this problem.
libexif/olympus/exif-mnote-data-olympus.c