std::multimap<pts_t, off_t>::const_iterator
l = m_pts_to_offset.upper_bound(ts - 60 * 90000),
u = m_pts_to_offset.upper_bound(ts + 60 * 90000),
- nearest = m_access_points.end();
+ nearest = m_pts_to_offset.end();
while (l != u)
{
nearest = l;
++l;
}
- if (nearest == m_access_points.end())
+ if (nearest == m_pts_to_offset.end())
return 1;
ts -= getDelta(nearest->second);