From 36ba80aacb2a582854f0e5e3ed0d69ca63db52ea Mon Sep 17 00:00:00 2001 From: iphydf Date: Fri, 2 Feb 2018 15:37:19 +0000 Subject: Remove csrc from the RTPHeader struct. This is not used by anything in the code, so we shouldn't have it in the header. --- toxav/rtp.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'toxav/rtp.h') diff --git a/toxav/rtp.h b/toxav/rtp.h index 3f684ee5..c8af08d7 100644 --- a/toxav/rtp.h +++ b/toxav/rtp.h @@ -36,6 +36,12 @@ extern "C" { */ #define RTP_HEADER_SIZE 80 +/** + * Number of 32 bit padding fields between \ref RTPHeader::offset_lower and + * everything before it. + */ +#define RTP_PADDING_FIELDS 11 + /** * Payload type identifier. Also used as rtp callback prefix. */ @@ -97,12 +103,6 @@ struct RTPHeader { */ uint32_t received_length_full; - /** - * Unused fields. If you want to add more information to this header, remove - * one csrc and add the appropriate number of fields in its place. - */ - uint32_t csrc[11]; - /** * Data offset of the current part (lower bits). */ -- cgit v1.2.3