commit | 8faebbc09221db1a173bccae3ffbab700dc83f17 | [log] [tgz] |
---|---|---|
author | Lajos Molnar <lajos@google.com> | Wed Jun 30 17:07:42 2021 -0700 |
committer | Lajos Molnar <lajos@google.com> | Wed Jun 30 17:25:17 2021 -0700 |
tree | ea7a7c4613b242d6628c2b4aa5aefaa7b404ce77 | |
parent | 2ffec4c98ffa9ced8ee83b3ffedea3a527af99f6 [diff] |
codec2: unlock GraphicBuffer if lockYCbCr succeeded but could not process it We may be able to lockYCbCr a graphic buffer and not understand it (e.g. stride could be invalid). Unlock it before trying to relock using lock(). Bug: 190459461 Change-Id: I916381cd04a4ff2180b9052a9a58d9092412e932