From 7bbde2d6c75cefdad29e5d734ce180c7a85fc17f Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sun, 27 Jul 2014 19:52:43 -0400 Subject: [PATCH] Reduced max size of queue. --- toxav/codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxav/codec.c b/toxav/codec.c index ed1ee44e..f1cd437a 100644 --- a/toxav/codec.c +++ b/toxav/codec.c @@ -40,7 +40,7 @@ JitterBuffer *create_queue(unsigned int capacity) { unsigned int size = 1; - while (size <= (capacity + 4) * 2) { + while (size <= capacity) { size *= 2; }