From: Anthony Minessale Date: Wed, 15 May 2013 13:08:41 +0000 (-0500) Subject: FS-5418 --resolve X-Git-Tag: v1.2.10~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fe3a0091cb061ac8d9cb02562e7a2e9194780ef;p=thirdparty%2Ffreeswitch.git FS-5418 --resolve --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index c041a51a5b..2a6cbbff62 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -4533,7 +4533,7 @@ static int rtp_common_write(switch_rtp_t *rtp_session, SWITCH_DECLARE(switch_status_t) switch_rtp_disable_vad(switch_rtp_t *rtp_session) { - if (!switch_rtp_ready(rtp_session)) { + if (!rtp_session) { return SWITCH_STATUS_FALSE; }