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

Freeswitch SVN anthm at freeswitch.org
Mon Mar 19 15:44:22 EDT 2007


Author: anthm
Date: Mon Mar 19 15:44:22 2007
New Revision: 4664

Modified:
   freeswitch/trunk/src/switch_core.c

Log:
update

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Mon Mar 19 15:44:22 2007
@@ -2417,7 +2417,7 @@
 				}
 				break;
 			case SWITCH_STATUS_SUCCESS:
-				session->raw_write_frame.samples = frame->datalen / sizeof(int16_t);
+				session->raw_write_frame.samples = session->raw_write_frame.datalen / sizeof(int16_t);
 				session->raw_write_frame.timestamp = frame->timestamp;
 				session->raw_write_frame.rate = frame->rate;
 				write_frame = &session->raw_write_frame;



More information about the Freeswitch-svn mailing list