mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-12-01 18:24:00 +00:00
Use the spare field in the encrypted video header as the frame number
This allows us to skip decrypting extra FEC shards after a frame was reassembled.
This commit is contained in:
1 parent
a517f7cbca
commit
e8113f0e66
4 files changed
+31
-1
No files matched your search
+1
-1
@@ -14,7 +14,7 @@ typedef struct _QUEUED_DECODE_UNIT {
|
||||
// for FEC stays a multiple of 16 too.
|
||||
typedef struct _ENC_VIDEO_HEADER {
|
||||
uint8_t iv[12];
|
||||
uint32_t unused;
|
||||
uint32_t frameNumber;
|
||||
uint8_t tag[16];
|
||||
} ENC_VIDEO_HEADER, *PENC_VIDEO_HEADER;
|
||||
|
||||
|
||||
Reference in new issue
Block a user