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:
ff2fc10
)
don't use filtermodes>0
author
kramm
<kramm>
Wed, 12 Nov 2008 10:38:48 +0000
(10:38 +0000)
committer
kramm
<kramm>
Wed, 12 Nov 2008 10:38:48 +0000
(10:38 +0000)
lib/png.c
patch
|
blob
|
history
diff --git
a/lib/png.c
b/lib/png.c
index
d40d3e4
..
c30f77e
100644
(file)
--- a/
lib/png.c
+++ b/
lib/png.c
@@
-1344,8
+1344,7
@@
EXPORT void savePNG(const char*filename, unsigned char*data, int width, int heig
{
int filtermode;
int bestsize = 0x7fffffff;
- for(filtermode=0;filtermode<=5;filtermode++) {
-
+ for(filtermode=0;filtermode<=0;filtermode++) {
if(!y && filtermode>=2)
continue; // don't do y direction filters in the first row