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() {}
|
||||
bool BlockEntry::EOS() const { return (GetKind() == kBlockEOS); }
|
||||
const Cluster* BlockEntry::GetCluster() const { return m_pCluster; }
|
||||
long BlockEntry::GetIndex() const { return m_index; }
|
||||
|
||||
@ -7936,4 +7935,4 @@ long Block::Frame::Read(IMkvReader* pReader, unsigned char* buf) const {
|
||||
|
||||
long long Block::GetDiscardPadding() const { return m_discard_padding; }
|
||||
|
||||
} // namespace mkvparser
|
||||
} // namespace mkvparser
|
||||
|
@ -126,7 +126,7 @@ class BlockEntry {
|
||||
public:
|
||||
virtual ~BlockEntry();
|
||||
|
||||
bool EOS() const;
|
||||
bool EOS() const { return (GetKind() == kBlockEOS); }
|
||||
const Cluster* GetCluster() const;
|
||||
long GetIndex() const;
|
||||
virtual const Block* GetBlock() const = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user