mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-12 03:24:02 +00:00
Don't leak rswrapper into our headers
This commit is contained in:
@@ -1,5 +1,14 @@
|
|||||||
#include "Limelight-internal.h"
|
#include "Limelight-internal.h"
|
||||||
|
|
||||||
|
#include "rswrapper.h"
|
||||||
|
|
||||||
|
typedef struct _reed_solomon {
|
||||||
|
int ds;
|
||||||
|
int ps;
|
||||||
|
int ts;
|
||||||
|
uint8_t p[];
|
||||||
|
} reed_solomon;
|
||||||
|
|
||||||
#if defined(LC_DEBUG) && !defined(LC_FUZZING)
|
#if defined(LC_DEBUG) && !defined(LC_FUZZING)
|
||||||
// This enables FEC validation mode with a synthetic drop
|
// This enables FEC validation mode with a synthetic drop
|
||||||
// and recovered packet checks vs the original input. It
|
// and recovered packet checks vs the original input. It
|
||||||
|
|||||||
+1
-8
@@ -2,14 +2,7 @@
|
|||||||
|
|
||||||
#include "Video.h"
|
#include "Video.h"
|
||||||
|
|
||||||
#include "rswrapper.h"
|
typedef struct _reed_solomon reed_solomon;
|
||||||
|
|
||||||
typedef struct _reed_solomon {
|
|
||||||
int ds;
|
|
||||||
int ps;
|
|
||||||
int ts;
|
|
||||||
uint8_t p[];
|
|
||||||
} reed_solomon;
|
|
||||||
|
|
||||||
// Maximum time to wait for an OOS data/FEC shard
|
// Maximum time to wait for an OOS data/FEC shard
|
||||||
// after the entire FEC block should have been received
|
// after the entire FEC block should have been received
|
||||||
|
|||||||
Reference in New Issue
Block a user