Don't leak rswrapper into our headers

This commit is contained in:
Cameron Gutman
2026-07-03 13:09:27 -05:00
parent 47b4d338b1
commit 1fddbcb7c6
2 changed files with 10 additions and 8 deletions
+9
View File
@@ -1,5 +1,14 @@
#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)
// This enables FEC validation mode with a synthetic drop
// and recovered packet checks vs the original input. It
+1 -8
View File
@@ -2,14 +2,7 @@
#include "Video.h"
#include "rswrapper.h"
typedef struct _reed_solomon {
int ds;
int ps;
int ts;
uint8_t p[];
} reed_solomon;
typedef struct _reed_solomon reed_solomon;
// Maximum time to wait for an OOS data/FEC shard
// after the entire FEC block should have been received