[asterisk-commits] bridge softmix.c: Remove always true test. (asterisk[15])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Aug 23 11:55:00 CDT 2017
Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/6260 )
Change subject: bridge_softmix.c: Remove always true test.
......................................................................
bridge_softmix.c: Remove always true test.
Change-Id: I26238df2ff0d0f6dfe95c3aa35da588f1ee71727
---
M bridges/bridge_softmix.c
1 file changed, 2 insertions(+), 6 deletions(-)
Approvals:
Sean Bright: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
Jenkins2: Approved for Submit
diff --git a/bridges/bridge_softmix.c b/bridges/bridge_softmix.c
index b359948..b9a0e98 100644
--- a/bridges/bridge_softmix.c
+++ b/bridges/bridge_softmix.c
@@ -1060,14 +1060,10 @@
res = ast_bridge_queue_everyone_else(bridge, bridge_channel, frame);
break;
case AST_FRAME_VOICE:
- if (bridge_channel) {
- softmix_bridge_write_voice(bridge, bridge_channel, frame);
- }
+ softmix_bridge_write_voice(bridge, bridge_channel, frame);
break;
case AST_FRAME_VIDEO:
- if (bridge_channel) {
- softmix_bridge_write_video(bridge, bridge_channel, frame);
- }
+ softmix_bridge_write_video(bridge, bridge_channel, frame);
break;
case AST_FRAME_CONTROL:
res = softmix_bridge_write_control(bridge, bridge_channel, frame);
--
To view, visit https://gerrit.asterisk.org/6260
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: I26238df2ff0d0f6dfe95c3aa35da588f1ee71727
Gerrit-Change-Number: 6260
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20170823/b1f0ba4b/attachment-0001.html>
More information about the asterisk-commits
mailing list