commit | ec1a9b524cbbddd16f2c730c35f54b3a05f4c9a0 | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Fri Aug 03 17:05:48 2018 -0700 |
committer | Ray Essick <essick@google.com> | Mon Aug 06 15:56:45 2018 -0700 |
tree | 04edf0a594f211f0ae011c6b4c95a2993e783a55 | |
parent | 29ac15a480e7114ce109ca6bdc19ea75725b19b2 [diff] |
SoftXaac: Handle error cases when decoder fails to initialize When decoder fails to initialize, it doesn't consume any bytes in subsequent process call. Avoid this by returning an error when decoder is not initialized before first process call. Bug: 112194305 Test: cts-tradefed run commandAndExit cts-dev -m CtsSecurityTestCases\ -t android.security.cts.StagefrightTest#testStagefright_c_2016_2428 Change-Id: I38ef56e8ff544567c3219c03dc6133c1ef98f3b3