Use isBefore() for sequence number comparison
This commit is contained in:
parent
965657523d
commit
634031839c
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ int RtpfAddPacket(PRTP_FEC_QUEUE queue, PRTP_PACKET packet, PRTPFEC_QUEUE_ENTRY
|
||||||
return RTPF_RET_REJECTED;
|
return RTPF_RET_REJECTED;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (packet->sequenceNumber < queue->bufferFirstParitySequenceNumber) {
|
if (isBefore(packet->sequenceNumber, queue->bufferFirstParitySequenceNumber)) {
|
||||||
queue->receivedBufferDataPackets++;
|
queue->receivedBufferDataPackets++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue