summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/moz-patch-stack/0099.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /third_party/libwebrtc/moz-patch-stack/0099.patch
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/moz-patch-stack/0099.patch')
-rw-r--r--third_party/libwebrtc/moz-patch-stack/0099.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/third_party/libwebrtc/moz-patch-stack/0099.patch b/third_party/libwebrtc/moz-patch-stack/0099.patch
new file mode 100644
index 0000000000..70f2f6a79b
--- /dev/null
+++ b/third_party/libwebrtc/moz-patch-stack/0099.patch
@@ -0,0 +1,28 @@
+From: Andreas Pehrson <apehrson@mozilla.com>
+Date: Wed, 10 May 2023 07:47:00 +0000
+Subject: Bug 1810949 - In webrtc_libyuv.cc put a label at end of compound
+ statement. CLOSED TREE
+
+Differential Revision: https://phabricator.services.mozilla.com/D177600
+
+Depends on D177599
+Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/6ac8147fee0323be3bf1d7f292a2a408a9901159
+---
+ common_video/libyuv/webrtc_libyuv.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/common_video/libyuv/webrtc_libyuv.cc b/common_video/libyuv/webrtc_libyuv.cc
+index 8c68162624..05a4b184c2 100644
+--- a/common_video/libyuv/webrtc_libyuv.cc
++++ b/common_video/libyuv/webrtc_libyuv.cc
+@@ -47,6 +47,7 @@ size_t CalcBufferSize(VideoType type, int width, int height) {
+ return width * height * 4;
+ case VideoType::kMJPEG:
+ case VideoType::kUnknown:
++ break;
+ }
+ RTC_DCHECK_NOTREACHED() << "Unexpected pixel format " << type;
+ return 0;
+--
+2.34.1
+