blob: 385dcb8b4ed86972b0f7287f7c1fa87a0b2d962b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
ebml: fix GetDataStart() for elements with infinite size
--- ebml/ebml/EbmlMaster.h 2017-08-19 09:04:53.000000000 +0200
+++ ebml/ebml/EbmlMaster.h.datastart 2018-02-15 14:44:20.473862200 +0100
@@ -84,7 +84,7 @@ class EBML_DLL_API EbmlMaster : public E
}
uint64 GetDataStart() const {
- return GetElementPosition() + EBML_ID_LENGTH((const EbmlId&)*this) + CodedSizeLength(GetSize(), GetSizeLength(), IsFiniteSize());
+ return GetElementPosition() + EBML_ID_LENGTH((const EbmlId&)*this) + CodedSizeLength(EbmlElement::GetSize(), GetSizeLength(), IsFiniteSize());
}
/*!
|