This commit is contained in:
mannol 2014-02-04 23:25:32 +01:00
parent 82a9d1ddd0
commit 32284546bf

View File

@ -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) {