git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools/enigma2.sh.in: add support for libpassthrough, add hook to execute scripts...
[enigma2.git]
/
lib
/
dvb
/
dvbtime.cpp
diff --git
a/lib/dvb/dvbtime.cpp
b/lib/dvb/dvbtime.cpp
index bb6b94b0d9e7207a9a77ed4ddaedf855dd59f1d8..26b6767cf10862466e8bc2ed345bc18068341c8e 100644
(file)
--- a/
lib/dvb/dvbtime.cpp
+++ b/
lib/dvb/dvbtime.cpp
@@
-111,7
+111,7
@@
void TDT::ready(int error)
int TDT::createTable(unsigned int nr, const __u8 *data, unsigned int max)
{
int TDT::createTable(unsigned int nr, const __u8 *data, unsigned int max)
{
- if ( data &&
data[0] == 0x70 || data[0] == 0x73
)
+ if ( data &&
(data[0] == 0x70 || data[0] == 0x73 )
)
{
int length = ((data[1] & 0x0F) << 8) | data[2];
if ( length >= 5 )
{
int length = ((data[1] & 0x0F) << 8) | data[2];
if ( length >= 5 )