mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fix issue #1497
This commit is contained in:
parent
b9ef24875c
commit
bd62c6a359
|
@ -65,7 +65,7 @@ struct RTPHeader {
|
|||
} __attribute__ ((packed));
|
||||
|
||||
/* Check alignment */
|
||||
typedef char __fail_if_misaligned [ sizeof(struct RTPHeader) == 80 ? 1 : -1 ];
|
||||
typedef char __fail_if_misaligned_1 [ sizeof(struct RTPHeader) == 80 ? 1 : -1 ];
|
||||
|
||||
struct RTPMessage {
|
||||
uint16_t len;
|
||||
|
@ -75,7 +75,7 @@ struct RTPMessage {
|
|||
} __attribute__ ((packed));
|
||||
|
||||
/* Check alignment */
|
||||
typedef char __fail_if_misaligned [ sizeof(struct RTPMessage) == 82 ? 1 : -1 ];
|
||||
typedef char __fail_if_misaligned_2 [ sizeof(struct RTPMessage) == 82 ? 1 : -1 ];
|
||||
|
||||
/**
|
||||
* RTP control session.
|
||||
|
|
Loading…
Reference in New Issue
Block a user