Add Block::GetOffset() accessor.

Change-Id: I6172c412a8b2b093a365d634e48fcd7a09363111

Added accessor for Block, to query offset value.
This commit is contained in:
Jeff Koppi
2010-10-01 16:36:28 -04:00
parent 616b1c80de
commit ec2b951a78
2 changed files with 7 additions and 0 deletions

View File

@@ -3835,6 +3835,12 @@ void Block::SetKey(bool bKey)
} }
long long Block::GetOffset() const
{
return m_frameOff;
}
long Block::GetSize() const long Block::GetSize() const
{ {
return m_frameSize; return m_frameSize;

View File

@@ -80,6 +80,7 @@ public:
bool IsKey() const; bool IsKey() const;
void SetKey(bool); void SetKey(bool);
long long GetOffset() const;
long GetSize() const; long GetSize() const;
long Read(IMkvReader*, unsigned char*) const; long Read(IMkvReader*, unsigned char*) const;