\fB\-r\fR, \fB\-\-rate\fR
Print out the frame rate of the movie, in a string of the form "-r rate"
.TP
+\fB\-f\fR, \fB\-\-frames\fR
+Print out the number of frames in the movie, in a string of the form "-f frames"
+.TP
\fB\-d\fR, \fB\-\-hex\fR
Print hex output of tag data, too.
.TP
{"t","text"},
{"X","width"},
{"Y","height"},
+ {"f","frames"},
{"r","rate"},
{"e","html"},
{"u","used"},
xy |= 4;
return 0;
}
+ else if(name[0]=='f') {
+ xy |= 8;
+ return 0;
+ }
else if(name[0]=='d') {
hex = 1;
return 0;
printf("\t-X , --width\t\t Prints out a string of the form \"-X width\"\n");
printf("\t-Y , --height\t\t Prints out a string of the form \"-Y height\"\n");
printf("\t-r , --rate\t\t Prints out a string of the form \"-r rate\"\n");
+ printf("\t-f , --frames\t\t Prints out a string of the form \"-f framenum\"\n");
printf("\t-a , --action\t\t Disassemble action tags\n");
printf("\t-t , --text\t\t Show text data\n");
printf("\t-d , --hex\t\t Print hex output of tag data, too\n");
if(xy&4)
printf("-r %d", swf.frameRate*100/256);
+ if((xy&7) && (xy&8))
+ printf(" ");
+
+ if(xy&8)
+ printf("-f %d", swf.frameCount);
+
printf("\n");
return 0;
}