diff --git a/srtcore/congctl.cpp b/srtcore/congctl.cpp index 85d4cda97..9bc43db8b 100644 --- a/srtcore/congctl.cpp +++ b/srtcore/congctl.cpp @@ -60,7 +60,7 @@ void SrtCongestion::Check() class LiveCC: public SrtCongestionControlBase { - int64_t m_llSndMaxBW; //Max bandwidth (bytes/sec) + srt::sync::atomic m_llSndMaxBW; //Max bandwidth (bytes/sec) srt::sync::atomic m_zSndAvgPayloadSize; //Average Payload Size of packets to xmit size_t m_zMaxPayloadSize; size_t m_zHeaderSize;