From aa3fdc5321e50af5b79085a0942e9b5cf2d82e30 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 27 Feb 2006 03:06:55 +0000 Subject: add getOffset and fix pvrparse for that --- lib/dvb/pvrparse.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/dvb/pvrparse.cpp') diff --git a/lib/dvb/pvrparse.cpp b/lib/dvb/pvrparse.cpp index 58b215ba..bde43765 100644 --- a/lib/dvb/pvrparse.cpp +++ b/lib/dvb/pvrparse.cpp @@ -208,9 +208,7 @@ off_t eMPEGStreamInformation::getAccessPoint(pts_t ts) off_t last = 0; for (std::map::const_iterator i(m_access_points.begin()); i != m_access_points.end(); ++i) { - std::map::const_iterator d = m_timestamp_deltas.find(i->first); - if (d != m_timestamp_deltas.end()) - delta = d->second; + pts_t delta = getDelta(i->first); pts_t c = i->second - delta; if (c > ts) break; -- cgit v1.2.3