forked from Mirrors/freeswitch
fix the fixed z code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14754 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f135a1fa5a
commit
660e4d2986
@ -1457,8 +1457,8 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session)
|
||||
/* ZRTP */
|
||||
if (zrtp_on) {
|
||||
|
||||
if (rtp_session->zrtp_ctx != NULL) {
|
||||
zrtp_stream_stop(rtp_session->zrtp_ctx);
|
||||
if ((*rtp_session)->zrtp_ctx != NULL) {
|
||||
zrtp_stream_stop((*rtp_session)->zrtp_ctx);
|
||||
}
|
||||
|
||||
if (switch_test_flag((*rtp_session), SWITCH_ZRTP_FLAG_SECURE_SEND)) {
|
||||
|
Loading…
Reference in New Issue
Block a user