summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/moz-patch-stack/0083.patch
blob: 3c6ab41ddf70b13ea642e122b19140f1c711f3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Byron Campen <docfaraday@gmail.com>
Date: Thu, 20 Jul 2023 14:24:00 +0000
Subject: Bug 1838080: Remove this duplicate init (that's also on the wrong
 thread). r=pehrsons,webrtc-reviewers

This was causing assertions.

Differential Revision: https://phabricator.services.mozilla.com/D179731
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/6ac6592a04a839a6152d5ad5f0778f63dbbd6b1b
---
 audio/channel_send.cc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/audio/channel_send.cc b/audio/channel_send.cc
index c8251b4b52..b8aa573a53 100644
--- a/audio/channel_send.cc
+++ b/audio/channel_send.cc
@@ -474,8 +474,6 @@ ChannelSend::ChannelSend(
 
   int error = audio_coding_->RegisterTransportCallback(this);
   RTC_DCHECK_EQ(0, error);
-  if (frame_transformer)
-    InitFrameTransformerDelegate(std::move(frame_transformer));
 }
 
 ChannelSend::~ChannelSend() {