mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 14:21:30 +00:00
Fix false analysis warning
This commit is contained in:
@@ -151,7 +151,7 @@ static PRTP_QUEUE_ENTRY validateQueueConstraints(PRTP_REORDER_QUEUE queue) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check that the queue's size constraint is satisfied
|
// Check that the queue's size constraint is satisfied
|
||||||
if (queue->queueSize == queue->maxSize) {
|
if (!needsUpdate && queue->queueSize == queue->maxSize) {
|
||||||
Limelog("Discarding RTP packet after queue overgrowth");
|
Limelog("Discarding RTP packet after queue overgrowth");
|
||||||
removeEntry(queue, queue->oldestQueuedEntry);
|
removeEntry(queue, queue->oldestQueuedEntry);
|
||||||
free(queue->oldestQueuedEntry->packet);
|
free(queue->oldestQueuedEntry->packet);
|
||||||
|
|||||||
Reference in New Issue
Block a user