Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit fbb963d

Browse files
authored
Merge branch 'master' into quic-protocol
2 parents 0f847e5 + 63985c6 commit fbb963d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/core/owt_base/selector/AudioRanker.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,9 @@ void AudioRanker::AudioLevelProcessor::setLinkedOutput(FrameDestination* output)
287287
removeAudioDestination(m_linkedOutput);
288288
}
289289
m_linkedOutput = output;
290-
addAudioDestination(m_linkedOutput);
290+
if (m_linkedOutput) {
291+
addAudioDestination(m_linkedOutput);
292+
}
291293
deliverOwnerData();
292294
}
293295

0 commit comments

Comments
 (0)