From: Anthony Minessale Date: Fri, 31 Oct 2008 17:18:45 +0000 (+0000) Subject: silence warning X-Git-Tag: v1.0.2~660 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=def557444905d6fbfd14e7946f9cbe5eca93dabd;p=thirdparty%2Ffreeswitch.git silence warning git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10210 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index 685a628506..8dc4cd00b6 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -1172,6 +1172,8 @@ static switch_status_t engage_device(int sample_rate, int codec_ms) } } + switch_assert(globals.read_codec.implementation); + if (!globals.write_codec.implementation) { if (switch_core_codec_init(&globals.write_codec, "L16",