git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f61dc8
)
switched png compression to 'fastest'
author
kramm
<kramm>
Thu, 21 Aug 2008 13:38:45 +0000
(13:38 +0000)
committer
kramm
<kramm>
Thu, 21 Aug 2008 13:38:45 +0000
(13:38 +0000)
lib/png.c
patch
|
blob
|
history
diff --git
a/lib/png.c
b/lib/png.c
index
8578d2d
..
09ffe4a
100644
(file)
--- a/
lib/png.c
+++ b/
lib/png.c
@@
-1082,7
+1082,7
@@
EXPORT void writePNG(const char*filename, unsigned char*data, int width, int hei
zs.opaque = Z_NULL;
zs.next_out = writebuf;
zs.avail_out = ZLIB_BUFFER_SIZE;
- ret = deflateInit(&zs, 9);
+ ret = deflateInit(&zs, 1);
if (ret != Z_OK) {
fprintf(stderr, "error in deflateInit(): %s", zs.msg?zs.msg:"unknown");
return;