mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge pull request #818 from maksqwe/rtp_header_fix
fix RTPHeader filling by zeros underflow
This commit is contained in:
commit
a116673554
|
@ -262,7 +262,7 @@ RTPHeader *extract_header ( const uint8_t *payload, int length )
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(_retu->csrc, 0, 16);
|
memset(_retu->csrc, 0, 16 * sizeof (uint32_t));
|
||||||
|
|
||||||
_retu->marker_payloadt = *_it;
|
_retu->marker_payloadt = *_it;
|
||||||
++_it;
|
++_it;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user