From 6b2de1848176a880c7a0d4fe3f137b8fd8597f47 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 7 Jun 2017 22:46:13 -0700 Subject: [PATCH] Don't wait for a parity packet to submit a completed frame --- src/RtpFecQueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RtpFecQueue.c b/src/RtpFecQueue.c index 317825d..b7f8592 100644 --- a/src/RtpFecQueue.c +++ b/src/RtpFecQueue.c @@ -80,7 +80,7 @@ static int reconstructFrame(PRTP_FEC_QUEUE queue) { int missingPackets = totalPackets - queue->bufferSize; int ret; - if (parityPackets < missingPackets || parityPackets <= 0) { + if (parityPackets < missingPackets) { // Not enough parity data to recover yet return -1; }