libwebm: added Cues::GetCount

Change-Id: I5b2bca8fd7229318783d9b97c50a4e20ce2ba640
This commit is contained in:
matthewjheaney
2011-02-26 11:50:23 -05:00
parent b0465e167e
commit cf36dc2848
2 changed files with 11 additions and 0 deletions

View File

@@ -2445,6 +2445,16 @@ Cues::~Cues()
delete[] m_cue_points;
}
long Cues::GetCount() const
{
if (m_cue_points == NULL)
return -1;
return m_count; //TODO: really ignore preload count?
}
void Cues::Init() const
{
if (m_cue_points)