[Freeswitch-svn] [commit] r10056 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Fri Oct 17 19:00:24 EDT 2008
Author: anthm
Date: Fri Oct 17 19:00:23 2008
New Revision: 10056
Modified:
freeswitch/trunk/src/switch_core_io.c
Log:
fix FSCORE-206
Modified: freeswitch/trunk/src/switch_core_io.c
==============================================================================
--- freeswitch/trunk/src/switch_core_io.c (original)
+++ freeswitch/trunk/src/switch_core_io.c Fri Oct 17 19:00:23 2008
@@ -496,7 +496,7 @@
even_more_done:
- if (!*frame) {
+ if (!*frame || !(*frame)->codec || !(*frame)->codec->implementation) {
*frame = &runtime.dummy_cng_frame;
}
@@ -559,6 +559,7 @@
}
switch_assert(frame->codec != NULL);
+ switch_assert(frame->codec->implementation != NULL);
if ((session->write_codec && frame->codec && session->write_codec->implementation != frame->codec->implementation)) {
need_codec = TRUE;
More information about the Freeswitch-svn
mailing list