PID is 13 bit. Ok?

This commit is contained in:
Andreas Öman 2009-08-15 08:52:16 +00:00
parent e94c70e9c1
commit 1c39d75cd4

View file

@ -237,7 +237,7 @@ process_ts_packet(rawts_t *rt, uint8_t *tsb)
uint16_t pid;
th_transport_t *t;
pid = ((tsb[1] & 0xf) << 8) | tsb[2];
pid = ((tsb[1] & 0x1f) << 8) | tsb[2];
if(pid == 0) {
/* PAT */