From f837f24998ebe4b4cfe18503a6de3ecf9168678a Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 28 May 2015 08:45:47 -0500 Subject: [PATCH] Fix false analysis warning --- limelight-common/RtpReorderQueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limelight-common/RtpReorderQueue.c b/limelight-common/RtpReorderQueue.c index d11f7d2..393e3c2 100644 --- a/limelight-common/RtpReorderQueue.c +++ b/limelight-common/RtpReorderQueue.c @@ -151,7 +151,7 @@ static PRTP_QUEUE_ENTRY validateQueueConstraints(PRTP_REORDER_QUEUE queue) { } // 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"); removeEntry(queue, queue->oldestQueuedEntry); free(queue->oldestQueuedEntry->packet);