Fix false analysis warning
This commit is contained in:
parent
956d6bb217
commit
f837f24998
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue