Fix potential use-after-free bug in VideoImageGenerator::onGetYUV8Planes.
onGetYUV8Planes() exposes internal data of a VideoFrame and then delete the VideoFrame. VideoImageGenerator must keep the VideoFrame until exposed data is used. BUG=91208 Review URL: https://codereview.chromium.org/624633002 Cr-Commit-Position: refs/heads/master@{#299144}
Showing
Please register or sign in to comment