[Freeswitch-svn] [commit] r10862 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Wed Dec 17 14:13:24 PST 2008


Author: anthm
Date: Wed Dec 17 17:13:24 2008
New Revision: 10862

Log:
update

Modified:
   freeswitch/trunk/src/switch_core_io.c

Modified: freeswitch/trunk/src/switch_core_io.c
==============================================================================
--- freeswitch/trunk/src/switch_core_io.c	(original)
+++ freeswitch/trunk/src/switch_core_io.c	Wed Dec 17 17:13:24 2008
@@ -598,7 +598,10 @@
 
 	if (switch_test_flag(frame, SFF_PROXY_PACKET) || pass_cng) {
 		/* Fast PASS! */
-		return perform_write(session, frame, flag, stream_id);
+		switch_mutex_lock(session->codec_write_mutex);
+		status = perform_write(session, frame, flag, stream_id);
+		switch_mutex_unlock(session->codec_write_mutex);
+		return status;
 	}
 
 	switch_assert(frame->codec != NULL);



More information about the Freeswitch-svn mailing list