Use HasOneRef to ensure safe reallocation of buffer in EncodedImage If somehow buffer is shared between other locations, reallocating it may lead to use-after-free error. Bug: none Change-Id: I01a0b722cfe6ee0e18546248f1dfb7b8ac3b7217 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/150884 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29021}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.