fix the iterator use in the copy constructors
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@38 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
parent
9d3a11f774
commit
1a8c8cc66a
@ -87,6 +87,7 @@ KaxCluster::KaxCluster(const KaxCluster & ElementToClone)
|
||||
static_cast<KaxBlockVirtual *>(*Itr)->SetParent(*this);
|
||||
#endif // MATROSKA_VERSION
|
||||
}
|
||||
++Itr;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -89,6 +89,7 @@ KaxSegment::KaxSegment(const KaxSegment & ElementToClone)
|
||||
if (EbmlId(**Itr) == EBML_ID(KaxCluster)) {
|
||||
static_cast<KaxCluster *>(*Itr)->SetParent(*this);
|
||||
}
|
||||
++Itr;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user