Merge branch 'dev' of github.com:Beep6581/RawTherapee into dev

This commit is contained in:
Morgan Hardwood
2018-11-21 01:15:12 +01:00

View File

@@ -2197,11 +2197,13 @@ void ExifManager::parseCIFF (int length, TagDirectory* root)
t = new Tag (root, lookupAttrib (ifdAttribs, "Make")); t = new Tag (root, lookupAttrib (ifdAttribs, "Make"));
t->initString (buffer); t->initString (buffer);
root->addTag (t); root->addTag (t);
fseek (f, strlen (buffer) - 63, SEEK_CUR); if (!fseek (f, strlen (buffer) - 63, SEEK_CUR)) {
fread (buffer, 64, 1, f); if (fread (buffer, 64, 1, f) == 1) {
t = new Tag (root, lookupAttrib (ifdAttribs, "Model")); t = new Tag (root, lookupAttrib (ifdAttribs, "Model"));
t->initString (buffer); t->initString (buffer);
root->addTag (t); root->addTag (t);
}
}
} }
if (type == 0x1818) { if (type == 0x1818) {