media/gpu/vaapi: Fix P010 to P016LE conversion in VaapiDmabufVideoFrameMapper
The original code touches out of bounds of the source buffer. This CL fixes the issue. Bug: b:155054799 Test: video_decode_accelerator_tests on hatch Change-Id: I03067fe2231a55dd2edb2963525a03f1667d694a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2409725Reviewed-by:Miguel Casas <mcasas@chromium.org> Auto-Submit: Hirokazu Honda <hiroh@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#808229}
Showing
Please register or sign in to comment