mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-05 07:16:02 +00:00
Use isBefore() for sequence number comparison
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user