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

Unified Diff: talk/session/media/bundlefilter.cc

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/session/media/bundlefilter.h ('k') | talk/session/media/channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/session/media/bundlefilter.cc
diff --git a/talk/session/media/bundlefilter.cc b/talk/session/media/bundlefilter.cc
index cd02a1917476a087145c21b244cdd41435860a2a..b47d47fb27587b758338f41cf0b08d813b60f9c8 100755
--- a/talk/session/media/bundlefilter.cc
+++ b/talk/session/media/bundlefilter.cc
@@ -32,7 +32,7 @@
namespace cricket {
-static const uint32 kSsrc01 = 0x01;
+static const uint32_t kSsrc01 = 0x01;
BundleFilter::BundleFilter() {
}
@@ -60,7 +60,7 @@ bool BundleFilter::DemuxPacket(const char* data, size_t len, bool rtcp) {
// Rtcp packets using ssrc filter.
int pl_type = 0;
- uint32 ssrc = 0;
+ uint32_t ssrc = 0;
if (!GetRtcpType(data, len, &pl_type)) return false;
if (pl_type == kRtcpTypeSDES) {
// SDES packet parsing not supported.
@@ -92,7 +92,7 @@ bool BundleFilter::AddStream(const StreamParams& stream) {
return true;
}
-bool BundleFilter::RemoveStream(uint32 ssrc) {
+bool BundleFilter::RemoveStream(uint32_t ssrc) {
return RemoveStreamBySsrc(&streams_, ssrc);
}
@@ -100,7 +100,7 @@ bool BundleFilter::HasStreams() const {
return !streams_.empty();
}
-bool BundleFilter::FindStream(uint32 ssrc) const {
+bool BundleFilter::FindStream(uint32_t ssrc) const {
return ssrc == 0 ? false : GetStreamBySsrc(streams_, ssrc) != nullptr;
}
« no previous file with comments | « talk/session/media/bundlefilter.h ('k') | talk/session/media/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698