Add preconditions for YUV formats.
Width and height need to be even and > 0 for the calculated dataSize to be valid. Test: test app crashes with a meaningful error message instead of an allocation failure. Bug: 163175419 Change-Id: Ibcce3e62f89b7d19d64e8a5efe792b35af6ab401
Loading
Please register or sign in to comment