Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(968)

Unified Diff: media/cast/net/rtcp/rtcp.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/cast/net/rtcp/rtcp.h
diff --git a/media/cast/net/rtcp/rtcp.h b/media/cast/net/rtcp/rtcp.h
index 48c6f0dcaa5811763684870b245f76d286c58dbc..4780a9feee04adc544947c61649366d934ed6535 100644
--- a/media/cast/net/rtcp/rtcp.h
+++ b/media/cast/net/rtcp/rtcp.h
@@ -85,7 +85,7 @@ class Rtcp {
// and used to maintain a RTCP session.
// Returns false if this is not a RTCP packet or it is not directed to
// this session, e.g. SSRC doesn't match.
- bool IncomingRtcpPacket(const uint8* data, size_t length);
+ bool IncomingRtcpPacket(const uint8_t* data, size_t length);
// If available, returns true and sets the output arguments to the latest
// lip-sync timestamps gleaned from the sender reports. While the sender
@@ -102,8 +102,8 @@ class Rtcp {
return current_round_trip_time_;
}
- static bool IsRtcpPacket(const uint8* packet, size_t length);
- static uint32_t GetSsrcOfSender(const uint8* rtcp_buffer, size_t length);
+ static bool IsRtcpPacket(const uint8_t* packet, size_t length);
+ static uint32_t GetSsrcOfSender(const uint8_t* rtcp_buffer, size_t length);
uint32_t GetLocalSsrc() const { return local_ssrc_; }
uint32_t GetRemoteSsrc() const { return remote_ssrc_; }

Powered by Google App Engine
This is Rietveld 408576698