Added extension header 4 bytes which isn't part of the extension header length
This commit is contained in:
parent
082e661318
commit
453f83a532
1 changed files with 2 additions and 0 deletions
|
@ -168,6 +168,8 @@ iptv_thread(void *aux)
|
|||
|
||||
// Skip over extension header (last 2 bytes of header is length)
|
||||
hlen += ((tsb[hlen + 2] << 8) | tsb[hlen + 3]) * 4;
|
||||
// Add the extension header itself (EHL does not inc header)
|
||||
hlen += 4;
|
||||
}
|
||||
|
||||
if(r < hlen || (r - hlen) % 188 != 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue