libwebm: removed Cluster::Load (non-incremental)
Change-Id: I1f2ad153e0c643d04fa1fe1ec85410bbef1954ef
This commit is contained in:
parent
b324e52139
commit
f5ec272e54
@ -5837,6 +5837,7 @@ long long Cluster::Unparsed() const
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
void Cluster::Load() const
|
void Cluster::Load() const
|
||||||
{
|
{
|
||||||
assert(m_pSegment);
|
assert(m_pSegment);
|
||||||
@ -5911,6 +5912,7 @@ void Cluster::Load() const
|
|||||||
|
|
||||||
m_timecode = timecode;
|
m_timecode = timecode;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
long Cluster::Load(long long& pos, long& len) const
|
long Cluster::Load(long long& pos, long& len) const
|
||||||
@ -7305,7 +7307,17 @@ void Cluster::LoadBlockEntries() const
|
|||||||
|
|
||||||
long long Cluster::GetTimeCode() const
|
long long Cluster::GetTimeCode() const
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
Load();
|
Load();
|
||||||
|
#else
|
||||||
|
long long pos;
|
||||||
|
long len;
|
||||||
|
|
||||||
|
const long status = Load(pos, len);
|
||||||
|
status;
|
||||||
|
assert(status == 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
return m_timecode;
|
return m_timecode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -581,7 +581,7 @@ public:
|
|||||||
|
|
||||||
long GetEntryCount() const;
|
long GetEntryCount() const;
|
||||||
|
|
||||||
void Load() const;
|
//void Load() const;
|
||||||
long Load(long long& pos, long& size) const;
|
long Load(long long& pos, long& size) const;
|
||||||
|
|
||||||
void LoadBlockEntries() const;
|
void LoadBlockEntries() const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user