mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 09:25:49 +00:00
Add pack pragmas to video packets
This commit is contained in:
parent
c29d7efe7a
commit
4f4d8d0b6c
@ -1,5 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#pragma pack(push, 1)
|
||||||
|
|
||||||
#define FLAG_CONTAINS_PIC_DATA 0x1
|
#define FLAG_CONTAINS_PIC_DATA 0x1
|
||||||
#define FLAG_EOF 0x2
|
#define FLAG_EOF 0x2
|
||||||
#define FLAG_SOF 0x4
|
#define FLAG_SOF 0x4
|
||||||
@ -23,3 +25,5 @@ typedef struct _RTP_PACKET {
|
|||||||
unsigned short sequenceNumber;
|
unsigned short sequenceNumber;
|
||||||
char reserved[8];
|
char reserved[8];
|
||||||
} RTP_PACKET, *PRTP_PACKET;
|
} RTP_PACKET, *PRTP_PACKET;
|
||||||
|
|
||||||
|
#pragma pack(pop)
|
Loading…
x
Reference in New Issue
Block a user