mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
eitd/sectionsd.cpp: remove useless eit.header check
Origin commit data
------------------
Commit: 6b4ca562b4
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-02-08 (Wed, 08 Feb 2012)
This commit is contained in:
@@ -3059,8 +3059,9 @@ static void *fseitThread(void *)
|
||||
|
||||
SIsectionEIT eit(static_buf);
|
||||
// Houdini: if section is not parsed (too short) -> no need to check events
|
||||
if (eit.is_parsed() && eit.header())
|
||||
{
|
||||
if (!eit.is_parsed())
|
||||
continue;
|
||||
|
||||
//dprintf("[eitThread] adding %d events [table 0x%x] (begin)\n", eit.events().size(), eit.getTableId());
|
||||
zeit = time(NULL);
|
||||
// Nicht alle Events speichern
|
||||
@@ -3095,7 +3096,6 @@ static void *fseitThread(void *)
|
||||
}
|
||||
} // for
|
||||
//dprintf("[eitThread] added %d events (end)\n", eit.events().size());
|
||||
} // if
|
||||
} // for
|
||||
delete[] static_buf;
|
||||
dputs("[freesatEitThread] end");
|
||||
@@ -3273,9 +3273,8 @@ static void *eitThread(void *)
|
||||
|
||||
SIsectionEIT eit(static_buf);
|
||||
// Houdini: if section is not parsed (too short) -> no need to check events
|
||||
if (eit.is_parsed() && eit.header())
|
||||
{
|
||||
// == 0 -> kein event
|
||||
if (!eit.is_parsed())
|
||||
continue;
|
||||
|
||||
dprintf("[eitThread] adding %d events [table 0x%x] (begin)\n", eit.events().size(), eit.getTableId());
|
||||
zeit = time(NULL);
|
||||
@@ -3314,7 +3313,6 @@ static void *eitThread(void *)
|
||||
}
|
||||
} // for
|
||||
//dprintf("[eitThread] added %d events (end)\n", eit.events().size());
|
||||
} // if
|
||||
} // for
|
||||
delete[] static_buf;
|
||||
|
||||
@@ -3514,7 +3512,7 @@ static void *cnThread(void *)
|
||||
|
||||
SIsectionEIT eit(static_buf);
|
||||
// Houdini: if section is not parsed (too short) -> no need to check events
|
||||
if (!eit.is_parsed() || !eit.header())
|
||||
if (!eit.is_parsed())
|
||||
continue;
|
||||
|
||||
//dprintf("[cnThread] adding %d events [table 0x%x] (begin)\n", eit.events().size(), eit.getTableId());
|
||||
|
Reference in New Issue
Block a user