mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
f70a014c32
The picture buffer size was computed from the size of the visible rectangle, which is potentially incorrect: if the origin of the visible rectangle is not (0, 0) then the buffer is going to be larger. Fix this by using the provided coded width and height, which correspond to the actual size of the buffer and not just its visible area. BUG=b:161774071 TEST=Android Youtube decodes properly on zork-arc-r. Change-Id: I80e15248f41d6202190456d2ab61f8f50d3b6ebb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3412457 Reviewed-by: Chih-Yu Huang <akahuang@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: David Staessens <dstaessens@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |