Files
tubestation/third_party/libwebrtc/moz-patch-stack/0026.patch
Michael Froman 85ee873b2b Bug 1952339 - Vendor libwebrtc from f30c044cf9
Essentially a no-op since we're going to see this change
reverted when we vendor in 995688c8e8.

Upstream commit: https://webrtc.googlesource.com/src/+/f30c044cf9bd06f91017c171d98690094ce6d88b
    more p2p cleanups

    Move test code from p2p/base and rtc_base/ into p2p/test/
    This p2p/base much less crowded and
    clarifies that the rtc_base/nat* is in fact only test code.

    BUG=webrtc:0

    Change-Id: I4d14fae24cb0eff6783962f4b4483b560367ca5d
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/378900
    Commit-Queue: Jonas Oreland <jonaso@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Auto-Submit: Jonas Oreland <jonaso@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#43995}

Differential Revision: https://phabricator.services.mozilla.com/D244003
2025-03-07 16:45:51 -06:00

26 lines
1.2 KiB
Diff

From: Dan Minor <dminor@mozilla.com>
Date: Tue, 11 Feb 2020 17:04:00 +0000
Subject: Bug 1578073 - Fix warning: [cast] redundant cast to int; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D61852
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/82877c8a864072c03f45234c6649645ed609e098
---
sdk/android/api/org/webrtc/TextureBufferImpl.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/android/api/org/webrtc/TextureBufferImpl.java b/sdk/android/api/org/webrtc/TextureBufferImpl.java
index 7e2bed84fc..43470d6e39 100644
--- a/sdk/android/api/org/webrtc/TextureBufferImpl.java
+++ b/sdk/android/api/org/webrtc/TextureBufferImpl.java
@@ -136,8 +136,8 @@ public class TextureBufferImpl implements VideoFrame.TextureBuffer {
cropAndScaleMatrix.preScale(cropWidth / (float) width, cropHeight / (float) height);
return applyTransformMatrix(cropAndScaleMatrix,
- (int) Math.round(unscaledWidth * cropWidth / (float) width),
- (int) Math.round(unscaledHeight * cropHeight / (float) height), scaleWidth, scaleHeight);
+ Math.round(unscaledWidth * cropWidth / (float) width),
+ Math.round(unscaledHeight * cropHeight / (float) height), scaleWidth, scaleHeight);
}
@Override