mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-03-01 10:35:23 +00:00
revert ignoring of bad packets at startup
This commit is contained in:
parent
3cc98a4995
commit
11b8c21cb5
@ -84,8 +84,8 @@ void proc_buf(uint8_t *buf, uint32_t *d)
|
|||||||
c=(buf[4]<<24)|(buf[5]<<16)|(buf[6]<<8)|buf[7];
|
c=(buf[4]<<24)|(buf[5]<<16)|(buf[6]<<8)|buf[7];
|
||||||
if (c!=*d) {
|
if (c!=*d) {
|
||||||
printf("CONT ERROR: got %08x expected %08x\n", c, *d);
|
printf("CONT ERROR: got %08x expected %08x\n", c, *d);
|
||||||
if (!*d && (c+100) > 100)
|
//if (!*d && (c+100) > 100)
|
||||||
return;
|
// return;
|
||||||
*d=c;
|
*d=c;
|
||||||
} else {
|
} else {
|
||||||
if (memcmp(ts+8, buf+8, 180))
|
if (memcmp(ts+8, buf+8, 180))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user