Meer debugging
This commit is contained in:
parent
48a2cd5672
commit
792e992fca
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ bool FLV_GetPacket(FLV_Pack *& p, int sock){
|
|||
p->len = p->data[3] + 15;
|
||||
p->len += (p->data[2] << 8);
|
||||
p->len += (p->data[1] << 16);
|
||||
fprintf(stderr, "Tag of len %i\n", p->len);
|
||||
if (p->buf < p->len){p->data = (char*)realloc(p->data, p->len);p->buf = p->len;}
|
||||
done = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue