Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
182c23b1
Commit
182c23b1
authored
Jan 07, 2015
by
jehan
Browse files
remove check on HAVE_SRTP_SHUTDOWN
parent
5a78118c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
configure.ac
configure.ac
+0
-1
src/crypto/ms_srtp.c
src/crypto/ms_srtp.c
+0
-2
No files found.
configure.ac
View file @
182c23b1
...
...
@@ -1030,7 +1030,6 @@ if test "${srtp_prefix}" != "none" ; then
LDFLAGS="$LDFLAGS $SRTP_LIBS"
LIBS_save=$LIBS
AC_CHECK_LIB(srtp,srtp_init,have_srtp_lib=yes)
AC_CHECK_LIB(srtp,srtp_shutdown,[AC_DEFINE([HAVE_SRTP_SHUTDOWN],1,[Defined when srtp_shutdown() exists.])])
LDFLAGS=$LDFLAGS_save
LIBS=$LIBS_save
...
...
src/crypto/ms_srtp.c
View file @
182c23b1
...
...
@@ -299,9 +299,7 @@ err_status_t ms_srtp_init(void)
void
ms_srtp_shutdown
(
void
){
srtp_init_done
--
;
if
(
srtp_init_done
==
0
){
#ifdef HAVE_SRTP_SHUTDOWN
srtp_shutdown
();
#endif
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment