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:
bb51f4b
)
fixed 8 bit filter 3
author
kramm
<kramm>
Wed, 14 May 2008 06:48:10 +0000
(06:48 +0000)
committer
kramm
<kramm>
Wed, 14 May 2008 06:48:10 +0000
(06:48 +0000)
lib/png.c
patch
|
blob
|
history
diff --git
a/lib/png.c
b/lib/png.c
index
95f5b11
..
8578d2d
100644
(file)
--- a/
lib/png.c
+++ b/
lib/png.c
@@
-197,6
+197,7
@@
static void applyfilter1(int mode, unsigned char*src, unsigned char*old, unsigne
else if(mode==3) {
for(x=0;x<width;x++) {
*dest = *src+(*old+last)/2;
+ last = *dest;
dest++;
old++;
src++;