commit | 5d041ac1067f40e2d11916a814c0457f2ffa5555 | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Thu Oct 05 14:18:26 2017 +0530 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Dec 01 00:16:49 2017 +0000 |
tree | 6ea20bffa3c2a20d4d8c17f679b20a86d6831e46 | |
parent | 38c3fdfbf68b5ac92f9f9b066140d72ba5d11691 [diff] |
SoftAVCDec: Handle zero length input without EOS When a zero length input buffer is sent to SoftAVC decoder without EOS set in nFlags, SoftAVC decoder plugin was entering an infinite loop. Fixed it by returning from onQueueFilled for such cases. Bug: 66969349 Test: Tested using poc associated with the bug Change-Id: I79cebc8f5b40c51256aba83a08deb547b220c4d7 (cherry picked from commit 21943c05f0ee2350647a6fa5ee17aa3c68859383)