From ebaf59a656ef94e19332c08e0d0562b8cbe59f65 Mon Sep 17 00:00:00 2001 From: Terry Wilson Date: Fri, 24 Feb 2012 00:32:20 +0000 Subject: 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 --- channels/chan_bridge.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'channels/chan_bridge.c') 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); -- cgit v1.2.3