Fix #533 - Apply patch proposed by Dominique Nerriec

v0.27.3
Luis Diaz Mas 7 years ago committed by Luis Díaz Más
parent 83bb4aa80a
commit e397f8f053

@ -989,7 +989,7 @@ namespace Exiv2 {
// Require at least the header and an IFD with 1 entry
if (size < PentaxDngMnHeader::sizeOfSignature() + 18)
return 0;
return newPentaxDngMn2(tag, group, pentaxDngId);
return newPentaxDngMn2(tag, group, (tag == 0xc634 ? pentaxDngId:pentaxId));
} else if (size > 4 && std::string(reinterpret_cast<const char*>(pData), 4) == std::string("AOC\0", 4)) {
// Require at least the header and an IFD with 1 entry
if (size < PentaxMnHeader::sizeOfSignature() + 18)

Loading…
Cancel
Save