From: Anthony Minessale Date: Wed, 15 May 2013 13:08:41 +0000 (-0500) Subject: FS-5418 --resolve X-Git-Tag: v1.5.1~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d50366f377eaa02eab92423ac3f4aa85bef25e18;p=thirdparty%2Ffreeswitch.git FS-5418 --resolve --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 3a0015b42b..05e33d1081 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -5531,7 +5531,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; }