mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-03-01 10:35:23 +00:00
Ignore errors at start, they are from aold data in buffers/FIFOs.
This commit is contained in:
parent
d54905cc14
commit
e7390e1cd8
@ -83,6 +83,8 @@ void proc_buf(uint8_t *buf, uint32_t *d)
|
||||
c=(buf[4]<<24)|(buf[5]<<16)|(buf[6]<<8)|buf[7];
|
||||
if (c!=*d) {
|
||||
printf("CONT ERROR: got %08x expected %08x\n", c, *d);
|
||||
if (!*d && (c+100) > 100)
|
||||
return;
|
||||
*d=c;
|
||||
} else {
|
||||
if (memcmp(ts+8, buf+8, 180))
|
||||
|
Loading…
x
Reference in New Issue
Block a user