commit | 2af8133e14fa7a2115868dfdf328ad270826636a | [log] [tgz] |
---|---|---|
author | bohu <bohu@google.com> | Wed Aug 05 12:18:03 2020 -0700 |
committer | bohu <bohu@google.com> | Sat Oct 03 20:12:56 2020 -0700 |
tree | 19dccfda39661593e4d55f51bb6464f5078316a3 | |
parent | b012b050d9da55516e1628805f7bc95e4a16a0fd [diff] |
codecs: check for nullptr in vpx When init failed, we should delete invalid ctx and check for that during each call. This is a work around of the bug where the framework does not respect the max instances. The CTS test keeps creating 32 instances and deletes them; and during the delete, decoder could crash, especially on x86. Change-Id: I6a4502b794bad0800a328b3f590736fedcfe647b