mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-20 23:20:17 +00:00
Add pack pragmas to video packets
This commit is contained in:
@@ -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
|
||||||
@@ -22,4 +24,6 @@ typedef struct _RTP_PACKET {
|
|||||||
char packetType;
|
char packetType;
|
||||||
unsigned short sequenceNumber;
|
unsigned short sequenceNumber;
|
||||||
char reserved[8];
|
char reserved[8];
|
||||||
} RTP_PACKET, *PRTP_PACKET;
|
} RTP_PACKET, *PRTP_PACKET;
|
||||||
|
|
||||||
|
#pragma pack(pop)
|
||||||
Reference in New Issue
Block a user