use a macro for the EbmlMaster iterator as it may differ between versions of libebml

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@39 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
Steve Lhomme 2010-03-18 17:08:57 +00:00
parent 1a8c8cc66a
commit c65c916543
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ KaxCluster::KaxCluster(const KaxCluster & ElementToClone)
,bSilentTracksUsed(ElementToClone.bSilentTracksUsed)
{
// update the parent of each children
std::vector<EbmlElement *>::const_iterator Itr = begin();
EBML_MASTER_ITERATOR Itr = begin();
while (Itr != end())
{
if (EbmlId(**Itr) == EBML_ID(KaxBlockGroup)) {

View File

@ -83,7 +83,7 @@ KaxSegment::KaxSegment(const KaxSegment & ElementToClone)
:EbmlMaster(ElementToClone)
{
// update the parent of each children
std::vector<EbmlElement *>::const_iterator Itr = begin();
EBML_MASTER_ITERATOR Itr = begin();
while (Itr != end())
{
if (EbmlId(**Itr) == EBML_ID(KaxCluster)) {