libwebm: removed Cluster::Load (non-incremental)

Change-Id: I1f2ad153e0c643d04fa1fe1ec85410bbef1954ef
This commit is contained in:
matthewjheaney 2011-03-18 11:18:46 -04:00
parent b324e52139
commit f5ec272e54
2 changed files with 13 additions and 1 deletions

View File

@ -5837,6 +5837,7 @@ long long Cluster::Unparsed() const
#endif
#if 0
void Cluster::Load() const
{
assert(m_pSegment);
@ -5911,6 +5912,7 @@ void Cluster::Load() const
m_timecode = timecode;
}
#endif
long Cluster::Load(long long& pos, long& len) const
@ -7305,7 +7307,17 @@ void Cluster::LoadBlockEntries() const
long long Cluster::GetTimeCode() const
{
#if 0
Load();
#else
long long pos;
long len;
const long status = Load(pos, len);
status;
assert(status == 0);
#endif
return m_timecode;
}

View File

@ -581,7 +581,7 @@ public:
long GetEntryCount() const;
void Load() const;
//void Load() const;
long Load(long long& pos, long& size) const;
void LoadBlockEntries() const;