PID is 13 bit. Ok?
This commit is contained in:
parent
e94c70e9c1
commit
1c39d75cd4
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue