From 8b3cc4982fdfa44eea6925c4194ad4d8df529e96 Mon Sep 17 00:00:00 2001 From: Sebastian Jansson Date: Thu, 11 Oct 2018 14:54:17 +0200 Subject: [PATCH] Adds default values for feedback/allocation indicators. This is part of a series of CLs that allows GoogCC to track sent bitrate that is included in bitrate allocation but without transport feedback. Bug: webrtc:9796 Change-Id: I21b4d1fb72710ee3a101888bb6a0b11e0aea35d8 Reviewed-on: https://webrtc-review.googlesource.com/c/105328 Reviewed-by: Karl Wiberg Commit-Queue: Sebastian Jansson Cr-Commit-Position: refs/heads/master@{#25119} --- rtc_base/socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtc_base/socket.h b/rtc_base/socket.h index 2a3d61d573..2520f34700 100644 --- a/rtc_base/socket.h +++ b/rtc_base/socket.h @@ -145,8 +145,8 @@ struct PacketInfo { PacketInfo(const PacketInfo& info); ~PacketInfo(); - bool included_in_feedback; - bool included_in_allocation; + bool included_in_feedback = false; + bool included_in_allocation = false; PacketType packet_type = PacketType::kUnknown; PacketInfoProtocolType protocol = PacketInfoProtocolType::kUnknown; // A unique id assigned by the network manager, and absl::nullopt if not set.