summaryrefslogtreecommitdiff
path: root/pjmedia/include
diff options
context:
space:
mode:
Diffstat (limited to 'pjmedia/include')
-rw-r--r--pjmedia/include/pjmedia/rtcp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pjmedia/include/pjmedia/rtcp.h b/pjmedia/include/pjmedia/rtcp.h
index ccd32a20..96f135e3 100644
--- a/pjmedia/include/pjmedia/rtcp.h
+++ b/pjmedia/include/pjmedia/rtcp.h
@@ -37,6 +37,8 @@ PJ_BEGIN_DECL
* @{
*/
+#pragma pack(1)
+
/**
* RTCP sender report.
*/
@@ -100,7 +102,7 @@ struct pjmedia_rtcp_common
unsigned version:2; /**< packet type */
unsigned pt:8; /**< payload type */
#endif
- pj_uint16_t length; /**< packet length */
+ unsigned length:16; /**< packet length */
};
/**
@@ -124,6 +126,9 @@ struct pjmedia_rtcp_pkt
typedef struct pjmedia_rtcp_pkt pjmedia_rtcp_pkt;
+#pragma pack()
+
+
/**
* NTP time representation.
*/