summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reader.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/reader.c b/reader.c
index b20b95a..27b4b75 100644
--- a/reader.c
+++ b/reader.c
@@ -40,12 +40,12 @@ const unsigned char kPAT[TS_SIZE] =
const unsigned char kPMT[TS_SIZE] =
{
- 0x47, 0x40, 0x84, 0x10, 0x00, 0x02, 0xb0, 0x22,
+ 0x47, 0x40, 0x84, 0x10, 0x00, 0x02, 0xb0, 0x24,
0x00, 0x01, 0xc1, 0x00, 0x00, 0xe0, 0x65, 0xf0,
0x00, 0x02, 0xe1, 0x2d, 0xf0, 0x00, 0x04, 0xe1,
0x2c, 0xf0, 0x06, 0x0a, 0x04, 0x00, 0x00, 0x00,
- 0x01, 0x06, 0xe1, 0x31, 0xf0, 0x00, 0xcc, 0x32,
- 0xcc, 0x32, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0x01, 0x06, 0xe1, 0x31, 0xf0, 0x02, 0x56, 0x00,
+ 0xcc, 0x32, 0xcc, 0x32, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
@@ -498,11 +498,11 @@ void cPvrReadThread::Action(void) {
memcpy(pmt_buffer, kPMT, TS_SIZE);
pmt_buffer[8] = (sid >> 8) & 0xFF;
pmt_buffer[9] = sid & 0xFF;
- crc = SI::CRC32::crc32((const char *)(pmt_buffer + 5), 33, 0xFFFFFFFF);
- pmt_buffer[38] = crc >> 24;
- pmt_buffer[39] = crc >> 16;
- pmt_buffer[40] = crc >> 8;
- pmt_buffer[41] = crc;
+ crc = SI::CRC32::crc32((const char *)(pmt_buffer + 5), 35, 0xFFFFFFFF);
+ pmt_buffer[40] = crc >> 24;
+ pmt_buffer[41] = crc >> 16;
+ pmt_buffer[42] = crc >> 8;
+ pmt_buffer[43] = crc;
}
}
retry: