[Freeswitch-trunk] [commit] r6182 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Wed Nov 7 19:50:10 EST 2007


Author: anthm
Date: Wed Nov  7 19:50:10 2007
New Revision: 6182

Modified:
   freeswitch/trunk/src/switch_core_io.c

Log:
add assert

Modified: freeswitch/trunk/src/switch_core_io.c
==============================================================================
--- freeswitch/trunk/src/switch_core_io.c	(original)
+++ freeswitch/trunk/src/switch_core_io.c	Wed Nov  7 19:50:10 2007
@@ -136,6 +136,7 @@
 		goto done;
 	}
 
+	assert((*frame)->codec != NULL);
 	if ((session->read_codec && (*frame)->codec && session->read_codec->implementation != (*frame)->codec->implementation)) {
 		need_codec = TRUE;
 	}



More information about the Freeswitch-trunk mailing list