uint64 KaxInternalBlock::UpdateSize(bool bSaveDefault, bool bForceRender)\r
{\r
LacingType LacingHere;\r
- assert(GetData() == NULL); // Data is not used for KaxInternalBlock\r
+ assert(EbmlBinary::GetBuffer() == NULL); // Data is not used for KaxInternalBlock\r
assert(TrackNumber < 0x4000); // no more allowed for the moment\r
unsigned int i;\r
\r
uint64 KaxBlockVirtual::UpdateSize(bool bSaveDefault, bool bForceRender)\r
{\r
assert(TrackNumber < 0x4000);\r
- binary *cursor = GetData();\r
+ binary *cursor = EbmlBinary::GetBuffer();\r
// fill data\r
if (TrackNumber < 0x80) {\r
*cursor++ = TrackNumber | 0x80; // set the first bit to 1 \r
if (ReadFully == SCOPE_ALL_DATA)\r
{\r
Result = EbmlBinary::ReadData(input, ReadFully);\r
- binary *cursor = GetData();\r
+ binary *cursor = EbmlBinary::GetBuffer();\r
uint8 BlockHeadSize = 4;\r
\r
// update internal values\r
\r
// put all Frames in the list\r
if (mLacing == LACING_NONE) {\r
- FirstFrameLocation += cursor - GetData();\r
+ FirstFrameLocation += cursor - EbmlBinary::GetBuffer();\r
DataBuffer * soloFrame = new DataBuffer(cursor, GetSize() - BlockHeadSize);\r
myBuffers.push_back(soloFrame);\r
SizeList.resize(1);\r
assert(0);\r
}\r
\r
- FirstFrameLocation += cursor - GetData();\r
+ FirstFrameLocation += cursor - EbmlBinary::GetBuffer();\r
\r
for (Index=0; Index<=FrameNum; Index++) {\r
DataBuffer * lacedFrame = new DataBuffer(cursor, SizeList[Index]);\r