X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=src%2Fswfdump.c;h=0828ea45b2de542e1b0f4c340917af81db545e57;hp=f903aa7880fd3556abfd18d9edd7ccd816cb7321;hb=2391d7ae5d8a145a250a8b80ab8c93ba74eba030;hpb=9b57fcd7feaf69fd54447174b19f5f377706bb15 diff --git a/src/swfdump.c b/src/swfdump.c index f903aa7..0828ea4 100644 --- a/src/swfdump.c +++ b/src/swfdump.c @@ -609,7 +609,7 @@ void handleVideoFrame(TAG*tag, char*prefix) deblock = swf_GetBits(tag, 1); if(deblock) - printf(" deblock ", deblock); + printf(" deblock %d ", deblock); quantizer = swf_GetBits(tag, 5); printf(" quant: %d ", quantizer); } @@ -1232,7 +1232,7 @@ int main (int argc,char ** argv) else printf("\n"); } - printf("[HEADER] File size: %ld%s\n", swf.fileSize, swf.compressed?" (Depacked)":""); + printf("[HEADER] File size: %d%s\n", swf.fileSize, swf.compressed?" (Depacked)":""); printf("[HEADER] Frame rate: %f\n",swf.frameRate/256.0); printf("[HEADER] Frame count: %d\n",swf.frameCount); printf("[HEADER] Movie width: %.2f",(swf.movieSize.xmax-swf.movieSize.xmin)/20.0); @@ -1269,9 +1269,9 @@ int main (int argc,char ** argv) } if(cumulative) { filepos += tag->len; - printf("[%03x] %9ld %9ld %s%s", tag->id, tag->len, filepos, prefix, swf_TagGetName(tag)); + printf("[%03x] %9d %9d %s%s", tag->id, tag->len, filepos, prefix, swf_TagGetName(tag)); } else { - printf("[%03x] %9ld %s%s", tag->id, tag->len, prefix, swf_TagGetName(tag)); + printf("[%03x] %9d %s%s", tag->id, tag->len, prefix, swf_TagGetName(tag)); } if(tag->id == ST_PLACEOBJECT) {