diff --git a/src/RtpAudioQueue.c b/src/RtpAudioQueue.c index 9828d88..004e572 100644 --- a/src/RtpAudioQueue.c +++ b/src/RtpAudioQueue.c @@ -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 diff --git a/src/RtpAudioQueue.h b/src/RtpAudioQueue.h index 8f377aa..2a73ab2 100644 --- a/src/RtpAudioQueue.h +++ b/src/RtpAudioQueue.h @@ -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