mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-22 08:08:14 +00:00
Don't wait for a parity packet to submit a completed frame
This commit is contained in:
1 parent
3deba8de7e
commit
6b2de18481
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user