fix a recursive call issue

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libebml@21 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
Steve Lhomme 2010-03-17 10:24:35 +00:00
parent 66f1b56fba
commit 1b66de687a

View File

@ -73,7 +73,7 @@ class EBML_DLL_API EbmlMaster : public EbmlElement {
bool PushElement(EbmlElement & element);
uint64 GetSize() const {
if (IsFiniteSize())
return GetSize();
return EbmlElement::GetSize();
else
return (0-1);
}