]> 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:09:07 +0000 (08:09 -0500)
src/switch_rtp.c

index c041a51a5bd95efb5456608da6df9ce5f5fa7009..2a6cbbff627df3aaee25064030fb87871cc3112f 100644 (file)
@@ -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;
        }