Fix selective retransmissions after corrupt merge in r1373.
BUG=228 TEST= Review URL: http://webrtc-codereview.appspot.com/345006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1414 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
9cbe6867e7
commit
c8277db7c8
@ -968,12 +968,9 @@ WebRtc_Word32 RTPSender::ReSendPacket(WebRtc_UWord16 packetID,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (length == 0) {
|
if (length == 0) {
|
||||||
WEBRTC_TRACE(kTraceWarning,
|
// This is a valid case since packets which we decide not to retransmit
|
||||||
kTraceRtpRtcp,
|
// are stored but with length zero.
|
||||||
_id,
|
return 0;
|
||||||
"Resend packet length == 0 for seqNum %u",
|
|
||||||
seqNum);
|
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
if (_RTX) {
|
if (_RTX) {
|
||||||
CriticalSectionScoped cs(_sendCritsect);
|
CriticalSectionScoped cs(_sendCritsect);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user