From: kramm Date: Tue, 13 Jan 2009 22:42:44 +0000 (+0000) Subject: add a 'allowscriptaccess' to -e output X-Git-Tag: release-0-9-0~288 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;ds=inline;h=4b9a72751a65ec7002c2468a0791a9cce7f9e32d;p=swftools.git add a 'allowscriptaccess' to -e output --- diff --git a/src/swfdump.c b/src/swfdump.c index 852d4ab..2967d91 100644 --- a/src/swfdump.c +++ b/src/swfdump.c @@ -1047,7 +1047,7 @@ int main (int argc,char ** argv) if(html) { char*fileversions[] = {"","1,0,0,0", "2,0,0,0","3,0,0,0","4,0,0,0", - "5,0,0,0","6,0,23,0","7,0,0,0","8,0,0,0","9,0,0,0","10,0,0,0"}; + "5,0,0,0","6,0,23,0","7,0,0,0","8,0,0,0","9,0,0,0","10,0,0,0", "11,0,0,0", "12,0,0,0"}; if(swf.fileVersion>10) { fprintf(stderr, "Fileversion>10\n"); exit(1); @@ -1072,9 +1072,11 @@ int main (int argc,char ** argv) " \n" " \n" " \n" + " \n" " \n" " \n" "\n", xsize, ysize, fileversions[swf.fileVersion], @@ -1199,7 +1201,7 @@ int main (int argc,char ** argv) swf_SetTagPos(tag, 0); U32 flags = swf_GetU32(tag); char*s = swf_GetString(tag); - if(flags) { + if(flags&~1) { printf(" flags=%08x", flags); } if(*s) {