提交 1f61ad76 authored 作者: Anthony Minessale's avatar Anthony Minessale

savs

上级 d012c5f3
...@@ -679,7 +679,7 @@ struct private_object { ...@@ -679,7 +679,7 @@ struct private_object {
switch_core_session_t *session; switch_core_session_t *session;
switch_channel_t *channel; switch_channel_t *channel;
switch_media_handle_t *media_handle; switch_media_handle_t *media_handle;
switch_core_media_params_t *mparams; switch_core_media_params_t mparams;
switch_frame_t read_frame; switch_frame_t read_frame;
char *codec_order[SWITCH_MAX_CODECS]; char *codec_order[SWITCH_MAX_CODECS];
......
...@@ -83,9 +83,6 @@ void sofia_glue_attach_private(switch_core_session_t *session, sofia_profile_t * ...@@ -83,9 +83,6 @@ void sofia_glue_attach_private(switch_core_session_t *session, sofia_profile_t *
switch_mutex_lock(tech_pvt->flag_mutex); switch_mutex_lock(tech_pvt->flag_mutex);
switch_mutex_lock(profile->flag_mutex); switch_mutex_lock(profile->flag_mutex);
tech_pvt->mparams = switch_core_session_alloc(session, sizeof(*tech_pvt->mparams));
/* copy flags from profile to the sofia private */ /* copy flags from profile to the sofia private */
for (x = 0; x < TFLAG_MAX; x++) { for (x = 0; x < TFLAG_MAX; x++) {
tech_pvt->flags[x] = profile->flags[x]; tech_pvt->flags[x] = profile->flags[x];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论