From 5f71f05afb56d4fba91bc4b34bae3f8d51371fcc Mon Sep 17 00:00:00 2001 From: William King Date: Mon, 25 Feb 2013 20:26:53 -0800 Subject: [PATCH] Another variable name standardization --- src/mod/endpoints/mod_rtmp/mod_rtmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/endpoints/mod_rtmp/mod_rtmp.c b/src/mod/endpoints/mod_rtmp/mod_rtmp.c index fddfb4e591..2838d2237c 100644 --- a/src/mod/endpoints/mod_rtmp/mod_rtmp.c +++ b/src/mod/endpoints/mod_rtmp/mod_rtmp.c @@ -87,9 +87,9 @@ static void rtmp_set_channel_variables(switch_core_session_t *session) switch_channel_set_variable_printf(channel, "rtmp_remote_port", "%d", rsession->remote_port); } -switch_status_t rtmp_tech_init(rtmp_private_t *tech_pvt, rtmp_session_t *rtmp_session, switch_core_session_t *session) +switch_status_t rtmp_tech_init(rtmp_private_t *tech_pvt, rtmp_session_t *rsession, switch_core_session_t *session) { - switch_assert(rtmp_session && session && tech_pvt); + switch_assert(rsession && session && tech_pvt); tech_pvt->read_frame.data = tech_pvt->databuf; tech_pvt->read_frame.buflen = sizeof(tech_pvt->databuf); @@ -103,7 +103,7 @@ switch_status_t rtmp_tech_init(rtmp_private_t *tech_pvt, rtmp_session_t *rtmp_se switch_core_timer_init(&tech_pvt->timer, "soft", 20, (16000 / (1000 / 20)), switch_core_session_get_pool(session)); tech_pvt->session = session; - tech_pvt->rtmp_session = rtmp_session; + tech_pvt->rtmp_session = rsession; tech_pvt->channel = switch_core_session_get_channel(session); /* Initialize read & write codecs */