Don't wait for a parity packet to submit a completed frame
This commit is contained in:
parent
3deba8de7e
commit
6b2de18481
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ static int reconstructFrame(PRTP_FEC_QUEUE queue) {
|
||||||
int missingPackets = totalPackets - queue->bufferSize;
|
int missingPackets = totalPackets - queue->bufferSize;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (parityPackets < missingPackets || parityPackets <= 0) {
|
if (parityPackets < missingPackets) {
|
||||||
// Not enough parity data to recover yet
|
// Not enough parity data to recover yet
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue