From 95ae9006537cdf7fc7ea256ece471cb5cffa612d Mon Sep 17 00:00:00 2001 From: Lorenzo Miniero Date: Mon, 22 Apr 2024 12:10:54 +0200 Subject: [PATCH] Reduced size of RTP header struct in core --- src/plugins/plugin.h | 2 +- src/rtp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/plugin.h b/src/plugins/plugin.h index 3a232b088c..d8ab6d2b40 100644 --- a/src/plugins/plugin.h +++ b/src/plugins/plugin.h @@ -171,7 +171,7 @@ janus_plugin *create(void) { * Janus instance or it will crash. * */ -#define JANUS_PLUGIN_API_VERSION 104 +#define JANUS_PLUGIN_API_VERSION 105 /*! \brief Initialization of all plugin properties to NULL * diff --git a/src/rtp.h b/src/rtp.h index 17b28829aa..1be392d608 100644 --- a/src/rtp.h +++ b/src/rtp.h @@ -53,7 +53,7 @@ typedef struct rtp_header uint16_t seq_number; uint32_t timestamp; uint32_t ssrc; - uint32_t csrc[16]; + uint32_t csrc[0]; } rtp_header; typedef rtp_header janus_rtp_header;