libwebm: Block::GetIndex returns type long

Change-Id: I7b233a18b5054398ae22696148ede17817ea608a
This commit is contained in:
matthewjheaney 2011-04-03 10:59:10 -05:00
parent 06f08663be
commit 00ed87aad6
2 changed files with 8 additions and 8 deletions

View File

@ -5162,9 +5162,9 @@ const Cluster* Track::EOSBlock::GetCluster() const
}
size_t Track::EOSBlock::GetIndex() const
long Track::EOSBlock::GetIndex() const
{
return 0;
return -1;
}
@ -8030,7 +8030,7 @@ const Cluster* SimpleBlock::GetCluster() const
}
size_t SimpleBlock::GetIndex() const
long SimpleBlock::GetIndex() const
{
return m_index;
}
@ -8157,7 +8157,7 @@ const Cluster* BlockGroup::GetCluster() const
}
size_t BlockGroup::GetIndex() const
long BlockGroup::GetIndex() const
{
return m_index;
}

View File

@ -115,7 +115,7 @@ public:
virtual ~BlockEntry();
virtual bool EOS() const = 0;
virtual const Cluster* GetCluster() const = 0;
virtual size_t GetIndex() const = 0;
virtual long GetIndex() const = 0;
virtual const Block* GetBlock() const = 0;
//virtual bool IsBFrame() const = 0;
@ -135,7 +135,7 @@ public:
bool EOS() const;
const Cluster* GetCluster() const;
size_t GetIndex() const;
long GetIndex() const;
const Block* GetBlock() const;
//bool IsBFrame() const;
@ -158,7 +158,7 @@ public:
bool EOS() const;
const Cluster* GetCluster() const;
size_t GetIndex() const;
long GetIndex() const;
const Block* GetBlock() const;
//bool IsBFrame() const;
@ -254,7 +254,7 @@ protected:
bool EOS() const;
const Cluster* GetCluster() const;
size_t GetIndex() const;
long GetIndex() const;
const Block* GetBlock() const;
bool IsBFrame() const;
};