change 'long long' tom int64_t'

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@293 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2010-02-07 15:10:25 +00:00
parent e8b2fef1b9
commit c3db76408a
16 changed files with 163 additions and 163 deletions

View File

@@ -59,7 +59,7 @@ struct SI_section_TOT_header
unsigned char reserved_future_use : 1;
unsigned char reserved1 : 2;
unsigned short section_length : 12;
unsigned long long UTC_time : 40;
uint64_t UTC_time : 40;
unsigned char reserved2 : 4;
unsigned short descriptors_loop_length : 12;
}
@@ -72,7 +72,7 @@ struct SI_section_TDT_header
unsigned char reserved_future_use : 1;
unsigned char reserved1 : 2;
unsigned short section_length : 12;
/* unsigned long long UTC_time : 40;*/
/* uint64_t UTC_time : 40;*/
UTC_t UTC_time;
}
__attribute__ ((packed)); /* 8 bytes */
@@ -107,7 +107,7 @@ bool getUTC(UTC_t * const UTC, const bool TDT)
memcpy(cUTC, &tdt_tot_header.UTC_time, 5);
if ((cUTC[2] > 0x23) || (cUTC[3] > 0x59) || (cUTC[4] > 0x59)) // no valid time
{
printf("[sectionsd] getUTC: invalid %s section received: %02x %02x %02x %02x %02x\n",
printf("[sectionsd] getUTC: invalid %s section received: %02x %02x %02x %02x %02x\n",
TDT ? "TDT" : "TOT", cUTC[0], cUTC[1], cUTC[2], cUTC[3], cUTC[4]);
ret = false;
}