mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-28 16:54:32 +00:00
Consistently handle the frame index as 32-bit
This commit is contained in:
1 parent
e80a786afe
commit
3387805deb
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -575,7 +575,7 @@ int RtpvAddPacket(PRTP_VIDEO_QUEUE queue, PRTP_PACKET packet, int length, PRTPV_
|
||||
}
|
||||
|
||||
#ifndef LC_FUZZING
|
||||
if (isBefore16(nvPacket->frameIndex, queue->currentFrameNumber)) {
|
||||
if (isBefore32(nvPacket->frameIndex, queue->currentFrameNumber)) {
|
||||
// Reject frames behind our current frame number
|
||||
return RTPF_RET_REJECTED;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user