From 4f4d8d0b6c4f7340ff8fb511d2e604fcfc1a76e4 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 22 Aug 2014 23:47:53 -0700 Subject: [PATCH] Add pack pragmas to video packets --- limelight-common/Video.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/limelight-common/Video.h b/limelight-common/Video.h index 9328ba5..db40805 100644 --- a/limelight-common/Video.h +++ b/limelight-common/Video.h @@ -1,5 +1,7 @@ #pragma once +#pragma pack(push, 1) + #define FLAG_CONTAINS_PIC_DATA 0x1 #define FLAG_EOF 0x2 #define FLAG_SOF 0x4 @@ -22,4 +24,6 @@ typedef struct _RTP_PACKET { char packetType; unsigned short sequenceNumber; char reserved[8]; -} RTP_PACKET, *PRTP_PACKET; \ No newline at end of file +} RTP_PACKET, *PRTP_PACKET; + +#pragma pack(pop) \ No newline at end of file