From 4167ff364b437f4069e7ade3c33bda62130d25fa Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 17 May 2007 16:07:31 +0000 Subject: [PATCH] small improvement in error logging --- src/png2swf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.7.10.4