[Freeswitch-svn] [commit] r7228 - freeswitch/trunk/src/mod/applications/mod_esf
Freeswitch SVN
mikej at freeswitch.org
Mon Jan 14 17:34:05 EST 2008
Author: mikej
Date: Mon Jan 14 17:34:05 2008
New Revision: 7228
Modified:
freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c
Log:
if there is no frame, there is no cng
Modified: freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c Mon Jan 14 17:34:05 2008
@@ -136,7 +136,7 @@
while(!ready) {
status = switch_core_session_read_frame(session, &read_frame, -1, 0);
- if (switch_test_flag(read_frame, SFF_CNG)) {
+ if (read_frame && switch_test_flag(read_frame, SFF_CNG)) {
continue;
}
More information about the Freeswitch-svn
mailing list