git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nullwriter now keeps track of how many bytes were written
[swftools.git]
/
src
/
png2swf.c
diff --git
a/src/png2swf.c
b/src/png2swf.c
index
cc70c61
..
fe46551
100644
(file)
--- a/
src/png2swf.c
+++ b/
src/png2swf.c
@@
-418,6
+418,7
@@
void applyfilter1(int mode, U8*src, U8*old, U8*dest, int width)
else if(mode==3) {
for(x=0;x<width;x++) {
*dest = *src+(*old+last)/2;
+ last = *dest;
dest++;
old++;
src++;