Skip to content

Commit

Permalink
Bug 1918268 - (fix-e0fe4200eb) upstream added pragma clang statements…
Browse files Browse the repository at this point in the history
… that need to be wrapped

UltraBlame original commit: 02fac81db780a2e1766ee0eeddc1797b91ee2cda
  • Loading branch information
marco-c committed Oct 1, 2024
1 parent 699ca4a commit 9f0147c
Show file tree
Hide file tree
Showing 2 changed files with 236 additions and 0 deletions.
16 changes: 16 additions & 0 deletions third_party/libwebrtc/api/audio_codecs/audio_decoder_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,12 @@ codec_pair_id
)
{
#
if
defined
(
__clang__
)
#
pragma
clang
diagnostic
Expand All @@ -237,6 +243,8 @@ Wdeprecated
-
declarations
"
#
endif
return
MakeAudioDecoder
(
Expand All @@ -245,10 +253,18 @@ codec_pair_id
)
;
#
if
defined
(
__clang__
)
#
pragma
clang
diagnostic
pop
#
endif
}
}
;
Expand Down
220 changes: 220 additions & 0 deletions third_party/libwebrtc/moz-patch-stack/0122.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
From
:
Michael
Froman
<
mfroman
mozilla
.
com
>
Date
:
Thu
19
Sep
2024
20
:
27
:
00
-
0500
Subject
:
Bug
1918268
-
(
fix
-
e0fe4200eb
)
upstream
added
pragma
clang
statements
that
need
to
be
wrapped
Mercurial
Revision
:
https
:
/
/
hg
.
mozilla
.
org
/
mozilla
-
central
/
rev
/
bc593cd2eaf8b31b72e9ec7cb6ff8527097a7041
-
-
-
api
/
audio_codecs
/
audio_decoder_factory
.
h
|
4
+
+
+
+
1
file
changed
4
insertions
(
+
)
diff
-
-
git
a
/
api
/
audio_codecs
/
audio_decoder_factory
.
h
b
/
api
/
audio_codecs
/
audio_decoder_factory
.
h
index
282d4d9992
.
.
4a157959f0
100644
-
-
-
a
/
api
/
audio_codecs
/
audio_decoder_factory
.
h
+
+
+
b
/
api
/
audio_codecs
/
audio_decoder_factory
.
h
-
60
10
+
60
14
class
AudioDecoderFactory
:
public
RefCountInterface
{
const
Environment
&
env
const
SdpAudioFormat
&
format
absl
:
:
optional
<
AudioCodecPairId
>
codec_pair_id
)
{
+
#
if
defined
(
__clang__
)
#
pragma
clang
diagnostic
push
#
pragma
clang
diagnostic
ignored
"
-
Wdeprecated
-
declarations
"
+
#
endif
return
MakeAudioDecoder
(
format
codec_pair_id
)
;
+
#
if
defined
(
__clang__
)
#
pragma
clang
diagnostic
pop
+
#
endif
}
}
;

0 comments on commit 9f0147c

Please sign in to comment.