shithub: patch

ref: b263a6de7c1759137085ba1052e51f3b5157d7de
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] */