commit | af5ca5af7573c34483192d8a42fce61584b168ad | [log] [tgz] |
---|---|---|
author | Emil Lundmark <lndmrk@webrtc.org> | Tue Nov 30 09:37:25 2021 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 30 11:20:21 2021 |
tree | 8819e94f6b859c259240d89dec08fe0388120332 | |
parent | d58ac5adf887a2bc96d75b1c0fb6fef17889ac80 [diff] |
Fix potential use after move in RtpVideoStreamReceiver When a frame is assembled `packet_infos` is moved and must be re-initialized before potentially being used in another iteration of the loop. Clear `packet_infos` immediately instead of relying on it being implicitly cleared in the next iteration of the loop. Bug: None Change-Id: I954aaa0c6df296cc2a27b3ab496e49fac200f135 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/238981 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Åsa Persson <asapersson@webrtc.org> Commit-Queue: Emil Lundmark <lndmrk@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35441}
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 here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.