0006-third-party-webrtc.patch 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. diff --git a/audio/utility/channel_mixer.cc b/audio/utility/channel_mixer.cc
  2. index 0f1e663873..8e66f90498 100644
  3. --- a/audio/utility/channel_mixer.cc
  4. +++ b/audio/utility/channel_mixer.cc
  5. @@ -8,6 +8,8 @@
  6. * be found in the AUTHORS file in the root of the source tree.
  7. */
  8. +#include <cstring>
  9. +
  10. #include "audio/utility/channel_mixer.h"
  11. #include "audio/utility/channel_mixing_matrix.h"
  12. diff --git a/common_video/h264/sps_parser.h b/common_video/h264/sps_parser.h
  13. index da328b48b0..719da297a9 100644
  14. --- a/common_video/h264/sps_parser.h
  15. +++ b/common_video/h264/sps_parser.h
  16. @@ -11,6 +11,7 @@
  17. #ifndef COMMON_VIDEO_H264_SPS_PARSER_H_
  18. #define COMMON_VIDEO_H264_SPS_PARSER_H_
  19. +#include <cstdint>
  20. #include "absl/types/optional.h"
  21. #include "rtc_base/bitstream_reader.h"
  22. diff --git a/modules/include/module_common_types_public.h b/modules/include/module_common_types_public.h
  23. index 345e45ce12..8338a51462 100644
  24. --- a/modules/include/module_common_types_public.h
  25. +++ b/modules/include/module_common_types_public.h
  26. @@ -11,6 +11,7 @@
  27. #ifndef MODULES_INCLUDE_MODULE_COMMON_TYPES_PUBLIC_H_
  28. #define MODULES_INCLUDE_MODULE_COMMON_TYPES_PUBLIC_H_
  29. +#include <cstdint>
  30. #include <limits>
  31. #include "absl/types/optional.h"
  32. diff --git a/modules/video_coding/codecs/av1/BUILD.gn b/modules/video_coding/codecs/av1/BUILD.gn
  33. index 73b22d46dc..e24f9cc473 100644
  34. --- a/modules/video_coding/codecs/av1/BUILD.gn
  35. +++ b/modules/video_coding/codecs/av1/BUILD.gn
  36. @@ -38,7 +38,6 @@ rtc_library("dav1d_decoder") {
  37. "../../../../api/video_codecs:video_codecs_api",
  38. "../../../../common_video",
  39. "../../../../rtc_base:logging",
  40. - "//third_party/dav1d",
  41. "//third_party/libyuv",
  42. ]
  43. absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
  44. diff --git a/modules/video_coding/utility/ivf_file_reader.cc b/modules/video_coding/utility/ivf_file_reader.cc
  45. index 85d1fa00d7..262b141b93 100644
  46. --- a/modules/video_coding/utility/ivf_file_reader.cc
  47. +++ b/modules/video_coding/utility/ivf_file_reader.cc
  48. @@ -10,6 +10,7 @@
  49. #include "modules/video_coding/utility/ivf_file_reader.h"
  50. +#include <cstring>
  51. #include <string>
  52. #include <vector>
  53. diff --git a/rtc_base/system/arch.h b/rtc_base/system/arch.h
  54. index be2367b85f..dfff855bae 100644
  55. --- a/rtc_base/system/arch.h
  56. +++ b/rtc_base/system/arch.h
  57. @@ -68,9 +68,11 @@
  58. #endif
  59. #define WEBRTC_ARCH_BIG_ENDIAN
  60. #elif defined(__riscv) && __riscv_xlen == 64
  61. +#define WEBRTC_ARCH_RISCV_FAMILY
  62. #define WEBRTC_ARCH_64_BITS
  63. #define WEBRTC_ARCH_LITTLE_ENDIAN
  64. #elif defined(__riscv) && __riscv_xlen == 32
  65. +#define WEBRTC_ARCH_RISCV_FAMILY
  66. #define WEBRTC_ARCH_32_BITS
  67. #define WEBRTC_ARCH_LITTLE_ENDIAN
  68. #elif defined(__pnacl__)