提交 378caebc authored 作者: Brian West's avatar Brian West

fix --disable-srtp

上级 41fbb451
...@@ -1509,8 +1509,9 @@ static void send_fir(switch_rtp_t *rtp_session) ...@@ -1509,8 +1509,9 @@ static void send_fir(switch_rtp_t *rtp_session)
} }
} }
#ifdef ENABLE_SRTP
end: end:
#endif
return; return;
} }
...@@ -1594,9 +1595,9 @@ static void send_pli(switch_rtp_t *rtp_session) ...@@ -1594,9 +1595,9 @@ static void send_pli(switch_rtp_t *rtp_session)
} }
} }
#ifdef ENABLE_SRTP
end: end:
#endif
return; return;
} }
...@@ -3884,7 +3885,9 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session) ...@@ -3884,7 +3885,9 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session)
{ {
void *pop; void *pop;
switch_socket_t *sock; switch_socket_t *sock;
#ifdef ENABLE_SRTP
int x; int x;
#endif
if (!rtp_session || !*rtp_session || !(*rtp_session)->ready) { if (!rtp_session || !*rtp_session || !(*rtp_session)->ready) {
return; return;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论