BUG=941

Review URL: https://webrtc-codereview.appspot.com/966020

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3125 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrike@webrtc.org 2012-11-18 18:49:13 +00:00
parent 55cd78cfc2
commit de727ab260

View File

@ -332,7 +332,10 @@ Channel::SendRTCPPacket(int channel, const void *data, int len)
// Packet transmission using external transport transport
{
CriticalSectionScoped cs(&_callbackCritSect);
if (_transportPtr == NULL)
{
return -1;
}
int n = _transportPtr->SendRTCPPacket(channel,
bufferToSendPtr,
bufferLength);