commit | deb14ec33bc481809b465959882736e2262b667a | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Thu Apr 05 16:28:00 2018 -0700 |
committer | Chong Zhang <chz@google.com> | Thu Apr 05 16:34:57 2018 -0700 |
tree | fd263b4ad70b3f90001ae09a9c50f3739bee79a0 | |
parent | 2383098d54b6503875bdf0c6b649fa66f22d79ac [diff] |
Fix crash when OMX decoder returns wrong crop rect When decoder returns wrong crop with zero width, height, following crop rect calculation underflows. We need to fail it properly. Also, for HEVC, when profile is set to Main10/Main10HDR10, verify if the decoder supports it before proceeding. Soft HEVC doesn't handle 10-bit, it will skip the non-support bitstream until the entire stream is consumed. bug: 77583227 Change-Id: I9e46d5f54b10a3a46179e683f227acca9c7c5a30