From: Anthony Minessale Date: Tue, 14 Oct 2008 18:49:26 +0000 (+0000) Subject: set read codec to NULL for reset is better X-Git-Tag: v1.0.2~808 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=372b7f8d48a66fbafbd051df54cf038b337069bc;p=thirdparty%2Ffreeswitch.git set read codec to NULL for reset is better git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10011 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index ec7f6aaaa3..1a5af93e07 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -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: