Index: webrtc/modules/rtp_rtcp/source/rtp_utility.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_utility.cc b/webrtc/modules/rtp_rtcp/source/rtp_utility.cc |
index fcd43ad197fb0604838e1fd175e52e48e72df2e0..172a01d2d9c899f7118774ddd7118af054187235 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtp_utility.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtp_utility.cc |
@@ -377,8 +377,8 @@ void RtpHeaderParser::ParseOneByteExtensionHeader( |
// Note that 'len' is the header extension element length, which is the |
// number of bytes - 1. |
- const uint8_t id = (*ptr & 0xf0) >> 4; |
- const uint8_t len = (*ptr & 0x0f); |
+ const int id = (*ptr & 0xf0) >> 4; |
+ const int len = (*ptr & 0x0f); |
ptr++; |
if (id == 15) { |
@@ -390,8 +390,7 @@ void RtpHeaderParser::ParseOneByteExtensionHeader( |
RTPExtensionType type; |
if (ptrExtensionMap->GetType(id, &type) != 0) { |
// If we encounter an unknown extension, just skip over it. |
- LOG(LS_WARNING) << "Failed to find extension id: " |
- << static_cast<int>(id); |
+ LOG(LS_WARNING) << "Failed to find extension id: " << id; |
} else { |
switch (type) { |
case kRtpExtensionTransmissionTimeOffset: { |
@@ -460,8 +459,8 @@ void RtpHeaderParser::ParseOneByteExtensionHeader( |
} |
case kRtpExtensionTransportSequenceNumber: { |
if (len != 1) { |
- LOG(LS_WARNING) |
- << "Incorrect peer connection sequence number len: " << len; |
+ LOG(LS_WARNING) << "Incorrect transport sequence number len: " |
+ << len; |
return; |
} |
// 0 1 2 |