]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
set read codec to NULL for reset is better
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 14 Oct 2008 18:49:26 +0000 (18:49 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 14 Oct 2008 18:49:26 +0000 (18:49 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10011 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_conference/mod_conference.c

index ec7f6aaaa35f1d4730ab74d40da1fb05c01ba228..1a5af93e07041cbca97fd1001d33b8bc42ad52d2 100644 (file)
@@ -4548,7 +4548,7 @@ SWITCH_STANDARD_APP(conference_function)
        conference_del_member(member.conference, &member);
 
        /* Put the original codec back */
-       switch_core_session_set_read_codec(member.session, read_codec);
+       switch_core_session_set_read_codec(member.session, NULL);
 
        /* Clean Up.  codec_done(X): is for error situations after the codecs were setup and done: is for situations before */
   codec_done1: