From: Anthony Minessale Date: Wed, 14 Jan 2009 15:28:17 +0000 (+0000) Subject: I assure you they're not null X-Git-Tag: v1.0.3~745 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3079ae0cbf72bdbff043a08aeae0777267404c2c;p=thirdparty%2Ffreeswitch.git I assure you they're not null git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11190 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 7921da5819..bcaecf7f7f 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -1654,6 +1654,9 @@ switch_status_t sofia_glue_tech_set_codec(private_object_t *tech_pvt, int force) switch_goto_status(SWITCH_STATUS_FALSE, end); } + switch_assert(tech_pvt->read_codec.implementation); + switch_assert(tech_pvt->write_codec.implementation); + tech_pvt->read_impl = *tech_pvt->read_codec.implementation; tech_pvt->write_impl = *tech_pvt->write_codec.implementation;