mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
Don't wait for a parity packet to submit a completed frame
This commit is contained in:
parent
3deba8de7e
commit
6b2de18481
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user