[svn-commits] mjordan: branch 12 r418172 - /branches/12/res/res_rtp_asterisk.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Jul 8 09:37:54 CDT 2014
Author: mjordan
Date: Tue Jul 8 09:37:51 2014
New Revision: 418172
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=418172
Log:
res_rtp_asterisk: Fix undefined function when PJPROJECT is not installed
The dtls_perform_handshake function was mistakenly placed under the guards for
USE_PJPROJECT. If PJPROJECT was not installed, the function would not be
defined, while other functions would attempt to still use it. This prevented
res_rtp_asterisk from being loaded.
ASTERISK-24001 #close
Reported by: Don Fanning
Modified:
branches/12/res/res_rtp_asterisk.c
Modified: branches/12/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_rtp_asterisk.c?view=diff&rev=418172&r1=418171&r2=418172
==============================================================================
--- branches/12/res/res_rtp_asterisk.c (original)
+++ branches/12/res/res_rtp_asterisk.c Tue Jul 8 09:37:51 2014
@@ -1207,9 +1207,6 @@
#endif
};
-#ifdef HAVE_PJPROJECT
-static void rtp_learning_seq_init(struct rtp_learning_info *info, uint16_t seq);
-
#ifdef HAVE_OPENSSL_SRTP
static void dtls_perform_handshake(struct ast_rtp_instance *instance, struct dtls_details *dtls, int rtcp)
{
@@ -1232,6 +1229,9 @@
dtls_srtp_check_pending(instance, rtp, rtcp);
}
#endif
+
+#ifdef HAVE_PJPROJECT
+static void rtp_learning_seq_init(struct rtp_learning_info *info, uint16_t seq);
static void ast_rtp_on_ice_complete(pj_ice_sess *ice, pj_status_t status)
{
More information about the svn-commits
mailing list