diff options
author | irungentoo <irungentoo@gmail.com> | 2014-07-27 19:52:43 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-07-27 19:52:43 -0400 |
commit | 7bbde2d6c75cefdad29e5d734ce180c7a85fc17f (patch) | |
tree | faeee3a3869f27d0af036e42a8c8a3412b030876 | |
parent | 8aa62cfef7e4f581f88eeaad1cb82f39546bec88 (diff) |
Reduced max size of queue.
-rw-r--r-- | toxav/codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
40 | { | 40 | { |
41 | unsigned int size = 1; | 41 | unsigned int size = 1; |
42 | 42 | ||
43 | while (size <= (capacity + 4) * 2) { | 43 | while (size <= capacity) { |
44 | size *= 2; | 44 | size *= 2; |
45 | } | 45 | } |
46 | 46 | ||