Index: webrtc/media/base/videocommon_unittest.cc |
diff --git a/webrtc/media/base/videocommon_unittest.cc b/webrtc/media/base/videocommon_unittest.cc |
index 72b828c028ed7cfe347693624122864b2409fc40..84a728b19b14da8b5e45efd3657da7faaac6cf29 100644 |
--- a/webrtc/media/base/videocommon_unittest.cc |
+++ b/webrtc/media/base/videocommon_unittest.cc |
@@ -126,7 +126,13 @@ TEST(VideoCommonTest, TestComputeScaleWithLowFps) { |
} |
// Same as TestComputeScale but with 15 fps instead of 5 fps. |
-TEST(VideoCommonTest, TestComputeScaleWithHighFps) { |
+// Disabled for UBSan: https://bugs.chromium.org/p/webrtc/issues/detail?id=5487 |
+#ifdef UNDEFINED_SANITIZER |
+#define MAYBE_TestComputeScaleWithHighFps DISABLED_TestComputeScaleWithHighFps |
+#else |
+#define MAYBE_TestComputeScaleWithHighFps TestComputeScaleWithHighFps |
+#endif |
+TEST(VideoCommonTest, MAYBE_TestComputeScaleWithHighFps) { |
int scaled_width, scaled_height; |
// Request small enough but high fps. Expect 1/2 size. |