1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00
This commit is contained in:
rjkm 2020-12-01 15:53:54 +01:00
parent 9b50e3bdc7
commit b0e1770268

View File

@ -203,7 +203,7 @@ void proc_ts(int i, uint8_t *buf)
if (ccin & 0x10) { if (ccin & 0x10) {
if ( cc[pid]) { if ( cc[pid]) {
// TODO: 1 repetition allowed // TODO: 1 repetition allowed
if( ( ccin & 0x10 ) != 0 && (((cc[pid] + 1) & 0x0F) != (ccin & 0x0F)) ) if ((((cc[pid] + 1) & 0x0F) != (ccin & 0x0F)))
cc_errors += 1; cc_errors += 1;
} }
cc[pid] = ccin; cc[pid] = ccin;