I assure you they're not null

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11190 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-01-14 15:28:17 +00:00
parent d848795872
commit 3079ae0cbf
1 changed files with 3 additions and 0 deletions

View File

@ -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;