mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 09:25:49 +00:00
Use isBefore() for sequence number comparison
This commit is contained in:
parent
965657523d
commit
634031839c
@ -272,7 +272,7 @@ int RtpfAddPacket(PRTP_FEC_QUEUE queue, PRTP_PACKET packet, PRTPFEC_QUEUE_ENTRY
|
||||
return RTPF_RET_REJECTED;
|
||||
}
|
||||
else {
|
||||
if (packet->sequenceNumber < queue->bufferFirstParitySequenceNumber) {
|
||||
if (isBefore(packet->sequenceNumber, queue->bufferFirstParitySequenceNumber)) {
|
||||
queue->receivedBufferDataPackets++;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user