From: kramm Date: Thu, 17 May 2007 16:07:31 +0000 (+0000) Subject: small improvement in error logging X-Git-Tag: buttons-working~637 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=4167ff364b437f4069e7ade3c33bda62130d25fa small improvement in error logging --- diff --git a/src/png2swf.c b/src/png2swf.c index 609deca..bde8ebc 100644 --- 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) { - 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;