aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2008-03-25 23:57:56 +0000
committerFelix Domke <tmbinc@elitedvb.net>2008-03-25 23:57:56 +0000
commit269650875b8f6de6a660b1d00cdbbdd7d0921cf8 (patch)
tree5433c32e83659e00c5693a187013d8c7d2d42feb
parent1fa65ce69720dd7a67ca7ed25d7262ce870b083a (diff)
downloadenigma2-269650875b8f6de6a660b1d00cdbbdd7d0921cf8.tar.gz
enigma2-269650875b8f6de6a660b1d00cdbbdd7d0921cf8.zip
use m_pts_to_offset
-rw-r--r--lib/dvb/pvrparse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dvb/pvrparse.cpp b/lib/dvb/pvrparse.cpp
index d6978301..a6be5c3e 100644
--- a/lib/dvb/pvrparse.cpp
+++ b/lib/dvb/pvrparse.cpp
@@ -146,7 +146,7 @@ int eMPEGStreamInformation::fixupPTS(const off_t &offset, pts_t &ts)
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)
{
@@ -154,7 +154,7 @@ int eMPEGStreamInformation::fixupPTS(const off_t &offset, pts_t &ts)
nearest = l;
++l;
}
- if (nearest == m_access_points.end())
+ if (nearest == m_pts_to_offset.end())
return 1;
ts -= getDelta(nearest->second);