mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Fix Clang/GCC build
This commit is contained in:
parent
89918324ce
commit
4aa82b0a9f
@ -213,9 +213,11 @@ static bool completeFecBlock(PRTP_AUDIO_QUEUE queue, PRTPA_FEC_BLOCK block) {
|
||||
}
|
||||
|
||||
int res = reed_solomon_reconstruct(queue->rs, shards, block->marks, RTPA_TOTAL_SHARDS, block->blockSize);
|
||||
|
||||
if (res != 0) {
|
||||
// We should always have enough data to recover the entire block since we checked above.
|
||||
LC_ASSERT(res == 0);
|
||||
return false;
|
||||
}
|
||||
|
||||
// We will need to recover the RTP packet using the FEC header
|
||||
for (int i = 0; i < RTPA_DATA_SHARDS; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user