]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
silence warning
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 31 Oct 2008 17:18:45 +0000 (17:18 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 31 Oct 2008 17:18:45 +0000 (17:18 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10210 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_portaudio/mod_portaudio.c

index 685a628506537023d8494f27d2be5e220591f026..8dc4cd00b69ee1847804e952028b90fd2dfa9998 100644 (file)
@@ -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",