From: Brian West Date: Wed, 26 Feb 2014 14:05:22 +0000 (-0600) Subject: fix --disable-srtp X-Git-Tag: v1.5.8~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=378caebc9a1b67aa16ac69fc6b48452078ae19f1;p=thirdparty%2Ffreeswitch.git fix --disable-srtp --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 48ee1be44d..f5393d5d9a 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -1509,8 +1509,9 @@ static void send_fir(switch_rtp_t *rtp_session) } } - +#ifdef ENABLE_SRTP end: +#endif return; } @@ -1594,9 +1595,9 @@ static void send_pli(switch_rtp_t *rtp_session) } } - +#ifdef ENABLE_SRTP end: - +#endif return; } @@ -3884,7 +3885,9 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session) { void *pop; switch_socket_t *sock; +#ifdef ENABLE_SRTP int x; +#endif if (!rtp_session || !*rtp_session || !(*rtp_session)->ready) { return;