commit | e103d82f76f301ea098d255494475a5a684d7539 | [log] [tgz] |
---|---|---|
author | Ray Essick <essick@google.com> | Mon Jan 09 09:23:22 2023 -0600 |
committer | Ray Essick <essick@google.com> | Wed Jan 11 22:30:13 2023 -0600 |
tree | f0df417aba175612ac8ae61f0e03315023396d56 | |
parent | 520c3a58ad08b53c0276dedb2cae6c6479491cb0 [diff] |
Better return value checking clang-tidy warned about unknowability of returned buffer by parameter after acquire_buffer() calls despite checking return code. Add appropriate tests. Wider examination pointed out several places where return code was not checked and where early out code was missing out on releasing other buffers. Bug: 263274255 Test: atest CtsMediaExtractorTestCases Test: atest CtsMediaV2TestCases Change-Id: I445808cc58f11321a6cc4a3b615bf352b0b2a419