]> granicus.if.org Git - libmatroska/commitdiff
new macros to hide the internal variables of the context classes
authorSteve Lhomme <slhomme@matroska.org>
Wed, 17 Mar 2010 10:26:39 +0000 (10:26 +0000)
committerSteve Lhomme <slhomme@matroska.org>
Wed, 17 Mar 2010 10:26:39 +0000 (10:26 +0000)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@23 a6f86f6d-0131-4f8e-9e7b-e335508773d5

src/KaxSeekHead.cpp

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