From 7e2977b2b679ef2ff5b95611b5102d757de7687a Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 19 Mar 2007 19:44:22 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4664 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_core.c b/src/switch_core.c index 318d70168d..91337f2dc0 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -2417,7 +2417,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess } 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;