switch rtp flags format usage on switch_rtp_new

This commit is contained in:
Anthony Minessale
2013-01-18 10:24:18 -06:00
parent f1e304cc29
commit 3fe0b471c1
4 changed files with 8 additions and 7 deletions

View File

@@ -251,7 +251,7 @@ static int sangoma_create_rtp(void *usr_priv, sngtc_codec_request_leg_t *codec_r
switch_memory_pool_t *sesspool = NULL;
switch_rtp_t *rtp_session = NULL;
char codec_ip[255];
switch_rtp_flag_t flags = 0;
switch_rtp_flag_t flags[SWITCH_RTP_FLAG_INVALID] = {0};
int iana = 0;
const char *err = NULL;
struct in_addr local_ip_addr = { 0 };