Fix crash when using AndroidNativeImageLoader due to changed lib name

This commit is contained in:
shadowislord 2014-11-10 23:27:56 -05:00
parent 5f0c2035c1
commit 89aac97a4a

View File

@ -17,10 +17,10 @@ import java.io.InputStream;
*/
public class AndroidNativeImageLoader implements AssetLoader {
private final byte[] tmpArray = new byte[1024];
private final byte[] tmpArray = new byte[10 * 1024];
static {
System.loadLibrary("stbijme");
System.loadLibrary("decodejme");
}
private static native Image load(InputStream in, boolean flipY, byte[] tmpArray) throws IOException;