Browse Source

Fixed sizeof(rtc::RtpHeader)

Paul-Louis Ageneau 3 years ago
parent
commit
cdbe019809
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/rtc/rtp.hpp

+ 1 - 1
include/rtc/rtp.hpp

@@ -57,7 +57,7 @@ struct RTC_CPP_EXPORT RtpHeader {
 	uint16_t _seqNumber;
 	uint32_t _timestamp;
 	SSRC _ssrc;
-	SSRC _csrc[16];
+	SSRC _csrc[];
 
 	[[nodiscard]] uint8_t version() const;
 	[[nodiscard]] bool padding() const;