Added missing static_cast conversion.
BUG= R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2061004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4568 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
e7f056ec45
commit
d5f4c15e8f
@ -102,7 +102,9 @@ class RtpRtcpObserver {
|
||||
case SEND_PACKET:
|
||||
return test::DirectTransport::SendRTP(packet, length);
|
||||
}
|
||||
return true; // Will never happen, makes compiler happy.
|
||||
}
|
||||
|
||||
virtual bool SendRTCP(const uint8_t* packet, size_t length) OVERRIDE {
|
||||
Action action;
|
||||
{
|
||||
@ -116,6 +118,7 @@ class RtpRtcpObserver {
|
||||
case SEND_PACKET:
|
||||
return test::DirectTransport::SendRTCP(packet, length);
|
||||
}
|
||||
return true; // Will never happen, makes compiler happy.
|
||||
}
|
||||
|
||||
// Pointer to shared lock instance protecting on_rtp_/on_rtcp_ calls.
|
||||
|
@ -279,7 +279,8 @@ class PliObserver : public test::RtpRtcpObserver {
|
||||
|
||||
virtual Action OnSendRtp(const uint8_t* packet, size_t length) OVERRIDE {
|
||||
RTPHeader header;
|
||||
EXPECT_TRUE(rtp_header_parser_->Parse(packet, length, &header));
|
||||
EXPECT_TRUE(
|
||||
rtp_header_parser_->Parse(packet, static_cast<int>(length), &header));
|
||||
|
||||
// Drop all NACK retransmissions. This is to force transmission of a PLI.
|
||||
if (header.timestamp < last_send_timestamp_)
|
||||
|
Loading…
Reference in New Issue
Block a user