shithub: patch

ref: 7caa9585434c771bea1aaf6d3317b969df5afa9d
dir: /png-maxmem/

View raw version
wtf?

diff -r 813115218568 sys/src/cmd/jpg/readpng.c
--- a/sys/src/cmd/jpg/readpng.c	Tue Jan 19 13:06:22 2016 +0100
+++ b/sys/src/cmd/jpg/readpng.c	Sat Jan 23 08:13:54 2016 +0100
@@ -10,7 +10,7 @@
 
 enum
 {
-	IDATSIZE = 8*1024*1024,
+	IDATSIZE = 64*1024*1024,
 
 	/* filtering algorithms */
 	FilterNone =	0,	/* new[x][y] = buf[x][y] */