[asterisk-commits] bridge softmix.c: Remove always true test. (asterisk[13])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Aug 23 11:20:33 CDT 2017
Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/6258 )
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 486330a..f82f350 100644
--- a/bridges/bridge_softmix.c
+++ b/bridges/bridge_softmix.c
@@ -727,14 +727,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/6258
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: I26238df2ff0d0f6dfe95c3aa35da588f1ee71727
Gerrit-Change-Number: 6258
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/582b15ae/attachment-0001.html>
More information about the asterisk-commits
mailing list