From 337f42b92d909248fee58ae846b63c39946f953c Mon Sep 17 00:00:00 2001
From: Anthony Minessale <anthony.minessale@gmail.com>
Date: Tue, 10 Jan 2006 02:34:12 +0000
Subject: [PATCH] update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@315 d0543943-73ff-0310-b7d9-9358b9ac24b2
---
 src/mod/applications/mod_bridgecall/mod_bridgecall.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mod/applications/mod_bridgecall/mod_bridgecall.c b/src/mod/applications/mod_bridgecall/mod_bridgecall.c
index 6263fde818..8c0ecb4d54 100644
--- a/src/mod/applications/mod_bridgecall/mod_bridgecall.c
+++ b/src/mod/applications/mod_bridgecall/mod_bridgecall.c
@@ -47,7 +47,7 @@ static void *audio_bridge_thread(switch_thread *thread, void *obj)
 {
 	struct switch_core_thread_session *data = obj;
 	int *stream_id_p;
-	int stream_id = *stream_id_p;
+	int stream_id;
 
 	switch_channel *chan_a, *chan_b;
 	switch_frame *read_frame;
@@ -56,7 +56,8 @@ static void *audio_bridge_thread(switch_thread *thread, void *obj)
 	session_a = data->objs[0];
 	session_b = data->objs[1];
 	
-	stream_id = data->objs[2];
+	stream_id_p = data->objs[2];
+	stream_id = *stream_id_p;
 
 	chan_a = switch_core_session_get_channel(session_a);
 	chan_b = switch_core_session_get_channel(session_b);