Drop packets with 'Transport Error Indicator' set

This commit is contained in:
Andreas Öman 2008-09-21 10:27:55 +00:00
parent fb33332ebd
commit e05c773d2a

View file

@ -194,6 +194,9 @@ ts_recv_packet1(th_transport_t *t, uint8_t *tsb)
int pid, n, m, r;
th_descrambler_t *td;
if(tsb[1] & 0x80)
return; /* Transport Error Indicator */
pid = (tsb[1] & 0x1f) << 8 | tsb[2];
if((st = transport_find_stream_by_pid(t, pid)) == NULL)
return;