From 32284546bfcff459bec85827a508cb283d6d68a7 Mon Sep 17 00:00:00 2001 From: mannol Date: Tue, 4 Feb 2014 23:25:32 +0100 Subject: [PATCH] Whoops --- toxav/toxmedia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxav/toxmedia.c b/toxav/toxmedia.c index cc0d72f9..bb4e7210 100644 --- a/toxav/toxmedia.c +++ b/toxav/toxmedia.c @@ -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) {