commit | 32120054c224d1911ebe33dc664c0f730a7782b2 | [log] [tgz] |
---|---|---|
author | DRC <information@libjpeg-turbo.org> | Mon Aug 14 10:54:27 2017 -0500 |
committer | DRC <information@libjpeg-turbo.org> | Mon Aug 14 11:46:26 2017 -0500 |
tree | acbd216e36e8a4863fafb7e456b46b23c65d26d9 | |
parent | 147836120446a80673c27ad8070b63077f308006 [diff] |
Java: Fix NullPointerException in YUVImage planes == null is a valid argument to setBuf() if alloc == true, so we need to make sure that planes is non-null before validating its length. We also need to allocate one dimension of the planes array if it's null. Fixes #168