#684: Quickfix to prevent the assertion failure.
This commit is contained in:
parent
4c4955f876
commit
b8d802c12c
@ -1250,6 +1250,17 @@ namespace Exiv2 {
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
// Todo: Don't use a hardcoded constant here
|
||||
if (i == 4) {
|
||||
#ifndef SUPPRESS_WARNINGS
|
||||
std::cerr << "Warning: "
|
||||
<< "Directory " << tiffGroupName(object->group())
|
||||
<< ", entry 0x" << std::setw(4)
|
||||
<< std::setfill('0') << std::hex << object->tag()
|
||||
<< ": Skipping sub-IFDs beyond the first four.\n";
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
// If there are multiple dirs, group is incremented for each
|
||||
TiffComponent::AutoPtr td(new TiffDirectory(object->tag(),
|
||||
object->newGroup_ + i));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user