1 fixes the SIGSEGV for the case when WebPWriter is used, only. Since WebP.encodeRGBA, WebP.encodeRGB(and btw. WebP.decode) are public API, the crash can still happen when the methods are called, which forward the object to JNI only by the .fPointer.
1 fixes the SIGSEGV for the case when WebPWriter is used, only. Since
WebP.encodeRGBA
,WebP.encodeRGB
(and btw.WebP.decode
) are public API, the crash can still happen when the methods are called, which forward the object to JNI only by the.fPointer
.