Fix crash when using AndroidNativeImageLoader due to changed lib name
This commit is contained in:
parent
5f0c2035c1
commit
89aac97a4a
@ -17,10 +17,10 @@ import java.io.InputStream;
|
|||||||
*/
|
*/
|
||||||
public class AndroidNativeImageLoader implements AssetLoader {
|
public class AndroidNativeImageLoader implements AssetLoader {
|
||||||
|
|
||||||
private final byte[] tmpArray = new byte[1024];
|
private final byte[] tmpArray = new byte[10 * 1024];
|
||||||
|
|
||||||
static {
|
static {
|
||||||
System.loadLibrary("stbijme");
|
System.loadLibrary("decodejme");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static native Image load(InputStream in, boolean flipY, byte[] tmpArray) throws IOException;
|
private static native Image load(InputStream in, boolean flipY, byte[] tmpArray) throws IOException;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user