From 5398ca65f2b4bc79036f1bb217f0d6bb802bef55 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sat, 12 Dec 2020 00:16:40 +0100 Subject: [PATCH] A lot of video related changes --- rtclib | 2 +- server/src/client/voice/PacketDecoder.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rtclib b/rtclib index d9150b3..e21361f 160000 --- a/rtclib +++ b/rtclib @@ -1 +1 @@ -Subproject commit d9150b3af8e5f57f0cd4cd2996b05495dc361bd1 +Subproject commit e21361f1b6a27c8674d2efd463a98a2f596c4e9f diff --git a/server/src/client/voice/PacketDecoder.cpp b/server/src/client/voice/PacketDecoder.cpp index d7fb1af..ec6d698 100644 --- a/server/src/client/voice/PacketDecoder.cpp +++ b/server/src/client/voice/PacketDecoder.cpp @@ -40,8 +40,9 @@ PacketDecoder::~PacketDecoder() { void PacketDecoder::reset() { std::lock_guard buffer_lock(this->packet_buffer_lock); - for(auto& buffer : this->_command_fragment_buffers) + for(auto& buffer : this->_command_fragment_buffers) { buffer.reset(); + } } PacketProcessResult PacketDecoder::process_incoming_data(ClientPacketParser &packet_parser, std::string& error) {