X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fdvb%2Fdvbtime.cpp;h=26b6767cf10862466e8bc2ed345bc18068341c8e;hb=311e28cd11dcf7c4555350fe5c17b93653970d85;hp=bb6b94b0d9e7207a9a77ed4ddaedf855dd59f1d8;hpb=1d8153e23d1cd08c83a784a5b3a00cb4b6ee33f1;p=vuplus_dvbapp diff --git a/lib/dvb/dvbtime.cpp b/lib/dvb/dvbtime.cpp index bb6b94b..26b6767 100644 --- 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) { - 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 )