From 5fe22f9f5f9da7fe1afae180191cc8fe2368d4bd Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Fri, 4 Mar 2022 13:26:50 +0200 Subject: [PATCH] [core] build: fixes for gcc-11 --- src/include/switch_rtp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/switch_rtp.h b/src/include/switch_rtp.h index 3da7254e91..ca915cf77a 100644 --- a/src/include/switch_rtp.h +++ b/src/include/switch_rtp.h @@ -236,7 +236,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_create(switch_rtp_t **new_rtp_session switch_payload_t payload, uint32_t samples_per_interval, uint32_t ms_per_packet, - switch_rtp_flag_t flags[], char *timer_name, const char **err, switch_memory_pool_t *pool); + switch_rtp_flag_t flags[SWITCH_RTP_FLAG_INVALID], char *timer_name, const char **err, switch_memory_pool_t *pool); /*! @@ -262,7 +262,7 @@ SWITCH_DECLARE(switch_rtp_t *) switch_rtp_new(const char *rx_host, switch_payload_t payload, uint32_t samples_per_interval, uint32_t ms_per_packet, - switch_rtp_flag_t flags[], char *timer_name, const char **err, switch_memory_pool_t *pool, switch_port_t bundle_internal_ports, switch_port_t bundle_external_port); + switch_rtp_flag_t flags[SWITCH_RTP_FLAG_INVALID], char *timer_name, const char **err, switch_memory_pool_t *pool, switch_port_t bundle_internal_ports, switch_port_t bundle_external_port); /*!