diff --git a/src/makernote_int.cpp b/src/makernote_int.cpp index 2aa23147..092cf90e 100644 --- a/src/makernote_int.cpp +++ b/src/makernote_int.cpp @@ -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(pData), 4) == std::string("AOC\0", 4)) { // Require at least the header and an IFD with 1 entry if (size < PentaxMnHeader::sizeOfSignature() + 18)