diff options
author | Terry Wilson <twilson@digium.com> | 2012-02-24 00:32:20 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2012-02-24 00:32:20 +0000 |
commit | ebaf59a656ef94e19332c08e0d0562b8cbe59f65 (patch) | |
tree | 6e75fd13924808bddacc18e14d5e02975a322481 /channels/chan_bridge.c | |
parent | 235f88d12270b328ad466889189400666b3e56c1 (diff) |
Opaquification for ast_format structs in struct ast_channel
Review: https://reviewboard.asterisk.org/r/1770/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@356573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_bridge.c')
-rw-r--r-- | channels/chan_bridge.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/channels/chan_bridge.c b/channels/chan_bridge.c index 67af0737e..3ec157601 100644 --- a/channels/chan_bridge.c +++ b/channels/chan_bridge.c @@ -188,14 +188,14 @@ static struct ast_channel *bridge_request(const char *type, struct ast_format_ca ast_format_cap_add(ast_channel_nativeformats(p->input), &slin); ast_format_cap_add(ast_channel_nativeformats(p->output), &slin); - ast_format_copy(&p->input->readformat, &slin); - ast_format_copy(&p->output->readformat, &slin); - ast_format_copy(&p->input->rawreadformat, &slin); - ast_format_copy(&p->output->rawreadformat, &slin); - ast_format_copy(&p->input->writeformat, &slin); - ast_format_copy(&p->output->writeformat, &slin); - ast_format_copy(&p->input->rawwriteformat, &slin); - ast_format_copy(&p->output->rawwriteformat, &slin); + ast_format_copy(ast_channel_readformat(p->input), &slin); + ast_format_copy(ast_channel_readformat(p->output), &slin); + ast_format_copy(ast_channel_rawreadformat(p->input), &slin); + ast_format_copy(ast_channel_rawreadformat(p->output), &slin); + ast_format_copy(ast_channel_writeformat(p->input), &slin); + ast_format_copy(ast_channel_writeformat(p->output), &slin); + ast_format_copy(ast_channel_rawwriteformat(p->input), &slin); + ast_format_copy(ast_channel_rawwriteformat(p->output), &slin); ast_answer(p->output); ast_answer(p->input); |