git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix dvd hotplug: stop assuming dvd for every other medium. in case of multiple ISO...
[enigma2.git]
/
lib
/
dvb
/
esection.h
diff --git
a/lib/dvb/esection.h
b/lib/dvb/esection.h
index 88c652a0ef0f525e8ff101a916312f52ea22cffe..5dc84ec6019dba8c823087677d65ce29e1396870 100644
(file)
--- a/
lib/dvb/esection.h
+++ b/
lib/dvb/esection.h
@@
-6,8
+6,7
@@
class eGTable: public iObject, public Object
{
class eGTable: public iObject, public Object
{
-DECLARE_REF(eGTable);
-private:
+ DECLARE_REF(eGTable);
ePtr<iDVBSectionReader> m_reader;
eDVBTableSpec m_table;
ePtr<iDVBSectionReader> m_reader;
eDVBTableSpec m_table;
@@
-19,7
+18,7
@@
private:
void timeout();
ePtr<eConnection> m_sectionRead_conn;
protected:
void timeout();
ePtr<eConnection> m_sectionRead_conn;
protected:
- virtual int createTable(int nr, const __u8 *data, unsigned int max)=0;
+ virtual int createTable(
unsigned
int nr, const __u8 *data, unsigned int max)=0;
public:
Signal1<void, int> tableReady;
eGTable();
public:
Signal1<void, int> tableReady;
eGTable();
@@
-38,9
+37,9
@@
private:
std::vector<Section*> sections;
std::set<int> avail;
protected:
std::vector<Section*> sections;
std::set<int> avail;
protected:
- int createTable(int nr, const __u8 *data, unsigned int max)
+ int createTable(
unsigned
int nr, const __u8 *data, unsigned int max)
{
{
- int ssize = sections.size();
+
unsigned
int ssize = sections.size();
if (max < ssize || nr >= max)
{
eDebug("kaputt max(%d) < ssize(%d) || nr(%d) >= max(%d)",
if (max < ssize || nr >= max)
{
eDebug("kaputt max(%d) < ssize(%d) || nr(%d) >= max(%d)",