Consistently handle the frame index as 32-bit

This commit is contained in:
Cameron Gutman committed 2026-11-10 20:21:33 -06:00
1 parent e80a786afe
commit 3387805deb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;
}