X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fdvb%2Fdvbtime.cpp;h=26b6767cf10862466e8bc2ed345bc18068341c8e;hb=b562d5a27a432cad7e208170f980964cb6099da5;hp=bb6b94b0d9e7207a9a77ed4ddaedf855dd59f1d8;hpb=aece969ad2b26fb6827f6c8d53622a67522f46b4;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 )