Index: webrtc/modules/pacing/include/packet_router.h |
diff --git a/webrtc/modules/pacing/include/packet_router.h b/webrtc/modules/pacing/include/packet_router.h |
index 9d461d13a98d57264dbb65ec4881e5290eddd8b5..4c72e99955160c890c2a8628a5e79325fee8e04e 100644 |
--- a/webrtc/modules/pacing/include/packet_router.h |
+++ b/webrtc/modules/pacing/include/packet_router.h |
@@ -13,6 +13,7 @@ |
#include <list> |
+#include "webrtc/base/atomicops.h" |
#include "webrtc/base/constructormagic.h" |
#include "webrtc/base/criticalsection.h" |
#include "webrtc/base/scoped_ptr.h" |
@@ -58,7 +59,7 @@ class PacketRouter : public PacedSender::Callback, |
// Map from ssrc to sending rtp module. |
std::list<RtpRtcp*> rtp_modules_ GUARDED_BY(modules_lock_); |
- volatile int transport_seq_; |
+ rtc::AtomicInt transport_seq_; |
RTC_DISALLOW_COPY_AND_ASSIGN(PacketRouter); |
}; |