small improvement in error logging
authorkramm <kramm>
Thu, 17 May 2007 16:07:31 +0000 (16:07 +0000)
committerkramm <kramm>
Thu, 17 May 2007 16:07:31 +0000 (16:07 +0000)
src/png2swf.c

index 609deca..bde8ebc 100644 (file)
@@ -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;