]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5418 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 15 May 2013 13:08:41 +0000 (08:08 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 15 May 2013 13:08:41 +0000 (08:08 -0500)
src/switch_rtp.c

index 3a0015b42b01b9919acaaf97dbe5ae9435a2094f..05e33d10810c2b606f1e58be01c809ebcb902990 100644 (file)
@@ -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;
        }