[Asterisk-code-review] bridge softmix.c: Restored softmix bridge leave() shortcut e... (asterisk[15])
Richard Mudgett
asteriskteam at digium.com
Tue Aug 22 11:25:51 CDT 2017
Richard Mudgett has uploaded this change for review. ( https://gerrit.asterisk.org/6267
Change subject: bridge_softmix.c: Restored softmix_bridge_leave() shortcut exit.
......................................................................
bridge_softmix.c: Restored softmix_bridge_leave() shortcut exit.
Change-Id: I13026cd90954e0265eab94a0faf635a3e11f0e35
---
M bridges/bridge_softmix.c
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/67/6267/1
diff --git a/bridges/bridge_softmix.c b/bridges/bridge_softmix.c
index b359948..f11de6d 100644
--- a/bridges/bridge_softmix.c
+++ b/bridges/bridge_softmix.c
@@ -786,15 +786,15 @@
{
struct softmix_channel *sc;
struct softmix_bridge_data *softmix_data;
+
softmix_data = bridge->tech_pvt;
sc = bridge_channel->tech_pvt;
+ if (!sc) {
+ return;
+ }
if (bridge->softmix.video_mode.mode == AST_BRIDGE_VIDEO_MODE_SFU) {
sfu_topologies_on_leave(bridge_channel, &bridge->channels);
- }
-
- if (!sc) {
- return;
}
if (bridge->softmix.binaural_active) {
--
To view, visit https://gerrit.asterisk.org/6267
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I13026cd90954e0265eab94a0faf635a3e11f0e35
Gerrit-Change-Number: 6267
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170822/2d5bf440/attachment.html>
More information about the asterisk-code-review
mailing list