-
Ricky Liang authored
Fix an out-of-bound memory access bug in unit tests. Original change's description -------------------------------------------------- media: implement TakePhoto in Chrome OS camera HAL VideoCaptureDevice This CL implements the TakePhoto() API for the Chrome OS camera HAL VideoCaptureDevice, including the following features: - Full size still capture - Auto-focus, auto-exposure, and auto-white-balancing stabilization BUG=chromium:832772 TEST=Run capture_unittests on DUT TEST=Make sure TakePhoto() API works on https://googlechrome.github.io/samples/image-capture/grab-frame-take-photo.html TEST=Run capture_unittests on host with asan and lsan build TBR=wuchengli@chromium.org,emircan@chromium.org Change-Id: Ieafc98e07bbc39ac64347eea76baa3a496c0c775 Reviewed-on: https://chromium-review.googlesource.com/1059915Reviewed-by:
Ricky Liang <jcliang@chromium.org> Commit-Queue: Ricky Liang <jcliang@chromium.org> Cr-Commit-Position: refs/heads/master@{#558770}
1b3709ce