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

Freeswitch SVN anthm at freeswitch.org
Mon Sep 8 17:52:53 EDT 2008


Author: anthm
Date: Mon Sep  8 17:52:52 2008
New Revision: 9484

Modified:
   freeswitch/trunk/src/switch_core_io.c

Log:
fix MODAPP-140

Modified: freeswitch/trunk/src/switch_core_io.c
==============================================================================
--- freeswitch/trunk/src/switch_core_io.c	(original)
+++ freeswitch/trunk/src/switch_core_io.c	Mon Sep  8 17:52:52 2008
@@ -375,8 +375,8 @@
 
 			if (perfect || switch_buffer_inuse(session->raw_read_buffer) >= session->read_codec->implementation->bytes_per_frame) {
 				if (perfect) {
-					enc_frame = *frame;
-					session->raw_read_frame.rate = (*frame)->rate;
+					enc_frame = read_frame;
+					session->raw_read_frame.rate = read_frame->rate;
 				} else {
 					session->raw_read_frame.datalen = (uint32_t) switch_buffer_read(session->raw_read_buffer,
 																					session->raw_read_frame.data,



More information about the Freeswitch-svn mailing list