Reland "Reject corrupted frames in the VP8 video decoder." This is a reland of commit ba511622a24945fdd2b5b26b5a9275f0c6daff5e. The original CL was reverted due to a downstream test which has now been updated. Original change's description: > Reject corrupted frames in the VP8 video decoder. > > The libvpx VP8 decoder has always returned error on malformed keyframes > but it turns out that corrupted delta frames may actually decode with > error, upon which the decoder still returns `VPX_CODEC_OK`. It is then > up to the user to poll the `VP8D_GET_FRAME_CORRUPTED` flag to see if it > was indeed OK. > > This CL adds a unit test the demonstrated this condition and shows that > we now reject the corrupted frame instead of continuing with error. > > Bug: chromium:561396583 > Change-Id: I1e5c65225fc389be8b37d4c7da9a2cbf9a0c6ec2 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/505800 > Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> > Commit-Queue: Erik Språng <sprang@webrtc.org> > Cr-Commit-Position: refs/heads/main@{#48727} Bug: chromium:561396583 Change-Id: I823057c845b262a4efbcdb022d44b95f6bf8b147 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/506140 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Auto-Submit: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/main@{#48743}
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.