Merge "mkvparser::BlockEntry: inline EOS()"
This commit is contained in:
commit
6ef8264fcc
@ -7447,7 +7447,6 @@ const BlockEntry* Cluster::GetEntry(const CuePoint& cp,
|
|||||||
|
|
||||||
BlockEntry::BlockEntry(Cluster* p, long idx) : m_pCluster(p), m_index(idx) {}
|
BlockEntry::BlockEntry(Cluster* p, long idx) : m_pCluster(p), m_index(idx) {}
|
||||||
BlockEntry::~BlockEntry() {}
|
BlockEntry::~BlockEntry() {}
|
||||||
bool BlockEntry::EOS() const { return (GetKind() == kBlockEOS); }
|
|
||||||
const Cluster* BlockEntry::GetCluster() const { return m_pCluster; }
|
const Cluster* BlockEntry::GetCluster() const { return m_pCluster; }
|
||||||
long BlockEntry::GetIndex() const { return m_index; }
|
long BlockEntry::GetIndex() const { return m_index; }
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ class BlockEntry {
|
|||||||
public:
|
public:
|
||||||
virtual ~BlockEntry();
|
virtual ~BlockEntry();
|
||||||
|
|
||||||
bool EOS() const;
|
bool EOS() const { return (GetKind() == kBlockEOS); }
|
||||||
const Cluster* GetCluster() const;
|
const Cluster* GetCluster() const;
|
||||||
long GetIndex() const;
|
long GetIndex() const;
|
||||||
virtual const Block* GetBlock() const = 0;
|
virtual const Block* GetBlock() const = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user