mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
tscheck don't check cc if payload bit not set
This commit is contained in:
parent
ed5f89a0c4
commit
03cc9ae142
@ -37,7 +37,7 @@ void proc_ts(int i, uint8_t *buf)
|
||||
if( cc[pid] != 0 )
|
||||
{
|
||||
// TODO: 1 repetition allowed
|
||||
if( ((cc[pid] + 1) & 0x0F) != (ccin & 0x0F) )
|
||||
if( ( cc[pid] & 0x10 ) != 0 && (((cc[pid] + 1) & 0x0F) != (ccin & 0x0F)) )
|
||||
cc_errors += 1;
|
||||
}
|
||||
cc[pid] = ccin;
|
||||
|
Loading…
Reference in New Issue
Block a user