new macros to hide the internal variables of the context classes

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@23 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
Steve Lhomme 2010-03-17 10:26:39 +00:00
parent 99cfc345c2
commit 85b35ff739

View File

@ -107,7 +107,7 @@ KaxSeek * KaxSeekHead::FindFirstOf(const EbmlCallbacks & Callbacks) const
if (EbmlId(*(*aElt)[i]) == EBML_ID(KaxSeekID)) {
aId = static_cast<KaxSeekID*>((*aElt)[i]);
EbmlId aEbmlId(aId->GetBuffer(), aId->GetSize());
if (aEbmlId == Callbacks.GlobalId)
if (aEbmlId == EBML_INFO_ID(Callbacks))
{
return aElt;
}