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

Unified Diff: talk/media/base/rtputils.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 months 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
« no previous file with comments | « talk/media/base/rtpdump_unittest.cc ('k') | talk/media/base/rtputils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/rtputils.h
diff --git a/talk/media/base/rtputils.h b/talk/media/base/rtputils.h
index d6e1b4d8740706ad66b071c5c8a82bd74e558ab0..bf8238f30298266472d2ca8b8154dc991c4c56ce 100644
--- a/talk/media/base/rtputils.h
+++ b/talk/media/base/rtputils.h
@@ -39,8 +39,8 @@ const size_t kMinRtcpPacketLen = 4;
struct RtpHeader {
int payload_type;
int seq_num;
- uint32 timestamp;
- uint32 ssrc;
+ uint32_t timestamp;
+ uint32_t ssrc;
};
enum RtcpTypes {
@@ -55,14 +55,14 @@ enum RtcpTypes {
bool GetRtpPayloadType(const void* data, size_t len, int* value);
bool GetRtpSeqNum(const void* data, size_t len, int* value);
-bool GetRtpTimestamp(const void* data, size_t len, uint32* value);
-bool GetRtpSsrc(const void* data, size_t len, uint32* value);
+bool GetRtpTimestamp(const void* data, size_t len, uint32_t* value);
+bool GetRtpSsrc(const void* data, size_t len, uint32_t* value);
bool GetRtpHeaderLen(const void* data, size_t len, size_t* value);
bool GetRtcpType(const void* data, size_t len, int* value);
-bool GetRtcpSsrc(const void* data, size_t len, uint32* value);
+bool GetRtcpSsrc(const void* data, size_t len, uint32_t* value);
bool GetRtpHeader(const void* data, size_t len, RtpHeader* header);
-bool SetRtpSsrc(void* data, size_t len, uint32 value);
+bool SetRtpSsrc(void* data, size_t len, uint32_t value);
// Assumes version 2, no padding, no extensions, no csrcs.
bool SetRtpHeader(void* data, size_t len, const RtpHeader& header);
« no previous file with comments | « talk/media/base/rtpdump_unittest.cc ('k') | talk/media/base/rtputils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698