Fix ZRTP header padding for MSVC
This commit is contained in:
parent
5248ad15b4
commit
601209e295
|
|
@ -20,13 +20,13 @@ namespace uvg_rtp {
|
||||||
/* encrypted portion starts */
|
/* encrypted portion starts */
|
||||||
uint8_t hash[32];
|
uint8_t hash[32];
|
||||||
|
|
||||||
uint16_t unused:15;
|
uint32_t unused:15;
|
||||||
uint16_t sig_len:9; /* signature length*/
|
uint32_t sig_len:9; /* signature length*/
|
||||||
uint8_t zeros:4;
|
uint32_t zeros:4;
|
||||||
uint8_t e:1; /* */
|
uint32_t e:1; /* */
|
||||||
uint8_t v:1; /* */
|
uint32_t v:1; /* */
|
||||||
uint8_t d:1; /* */
|
uint32_t d:1; /* */
|
||||||
uint8_t a:1; /* */
|
uint32_t a:1; /* */
|
||||||
|
|
||||||
uint32_t cache_expr; /* cache expiration interval */
|
uint32_t cache_expr; /* cache expiration interval */
|
||||||
/* encrypted portion ends */
|
/* encrypted portion ends */
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ namespace uvg_rtp {
|
||||||
struct zrtp_dh;
|
struct zrtp_dh;
|
||||||
|
|
||||||
PACK(struct zrtp_header {
|
PACK(struct zrtp_header {
|
||||||
uint8_t version:4;
|
uint16_t version:4;
|
||||||
uint16_t unused:12;
|
uint16_t unused:12;
|
||||||
uint16_t seq;
|
uint16_t seq;
|
||||||
uint32_t magic;
|
uint32_t magic;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue