Index: webrtc/voice_engine/channel.cc |
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc |
index f5be7ef97805722b771fd4a32dfaa5707fd60273..8bc9e2ac8d61f54a94536583b25e2a0cec8a32ab 100644 |
--- a/webrtc/voice_engine/channel.cc |
+++ b/webrtc/voice_engine/channel.cc |
@@ -360,12 +360,12 @@ int32_t Channel::SendData(FrameType frameType, |
// Push data from ACM to RTP/RTCP-module to deliver audio frame for |
// packetization. |
// This call will trigger Transport::SendPacket() from the RTP/RTCP module. |
- if (_rtpRtcpModule->SendOutgoingData( |
+ if (!_rtpRtcpModule->SendOutgoingData( |
(FrameType&)frameType, payloadType, timeStamp, |
// Leaving the time when this frame was |
// received from the capture device as |
// undefined for voice for now. |
- -1, payloadData, payloadSize, fragmentation) == -1) { |
+ -1, payloadData, payloadSize, fragmentation, nullptr, nullptr)) { |
_engineStatisticsPtr->SetLastError( |
VE_RTP_RTCP_MODULE_ERROR, kTraceWarning, |
"Channel::SendData() failed to send data to RTP/RTCP module"); |