mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Whoops
This commit is contained in:
parent
82a9d1ddd0
commit
32284546bf
|
@ -58,7 +58,7 @@ struct jitter_buffer *create_queue(int capacity)
|
|||
{
|
||||
struct jitter_buffer *q;
|
||||
q = (struct jitter_buffer *)calloc(sizeof(struct jitter_buffer),1);
|
||||
q->queue = (RTPMessage **)calloc(sizeof(RTPMessage), capacity);
|
||||
q->queue = (RTPMessage **)calloc(sizeof(RTPMessage*), capacity);
|
||||
int i = 0;
|
||||
|
||||
for (i = 0; i < capacity; ++i) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user