git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pass through setVectorAntialias, too
[swftools.git]
/
src
/
png2swf.c
diff --git
a/src/png2swf.c
b/src/png2swf.c
index
609deca
..
bde8ebc
100644
(file)
--- a/
src/png2swf.c
+++ b/
src/png2swf.c
@@
-558,7
+558,7
@@
TAG *MovieAddFrame(SWF * swf, TAG * t, char *sname, int id)
}
if(!zimagedata || uncompress(imagedata, &imagedatalen, zimagedata, zimagedatalen) != Z_OK) {
}
if(!zimagedata || uncompress(imagedata, &imagedatalen, zimagedata, zimagedatalen) != Z_OK) {
- fprintf(stderr, "Couldn't uncompress %s!\n", sname);
+ fprintf(stderr, "Couldn't uncompress IDAT chunk (%d bytes) in %s!\n", imagedatalen, sname);
if(zimagedata)
free(zimagedata);
return 0;
if(zimagedata)
free(zimagedata);
return 0;