commit | d7d89dfa475760cdfa1f10aa1f4f1a851bc45461 | [log] [tgz] |
---|---|---|
author | Thomas Guilbert <tguilbert@chromium.org> | Fri Aug 28 22:33:24 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Aug 28 22:33:24 2020 |
tree | 9576da2d88fbbbe39534f0cf944cbc998706098c | |
parent | f02e62033fb2864a22e513f6e0c1af754b645613 [diff] |
Fix VideoEncoder null deref crash CreateAcceleratedVideoEncoder() returns a nullptr on failure. We need to check |media_encoder_| before initializing it. Bug: 1123080 Change-Id: I244c29f85602097a8348c037a0a2a3555c1f12f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2382012 Auto-Submit: Thomas Guilbert <tguilbert@chromium.org> Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#802813}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.