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
Loading
Please register or sign in to comment