git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12e8dca
)
added rgb printout in backgroundcolor tag.
author
kramm
<kramm>
Sun, 21 Jul 2002 13:59:57 +0000
(13:59 +0000)
committer
kramm
<kramm>
Sun, 21 Jul 2002 13:59:57 +0000
(13:59 +0000)
src/swfdump.c
patch
|
blob
|
history
diff --git
a/src/swfdump.c
b/src/swfdump.c
index
9a06d26
..
e776403
100644
(file)
--- a/
src/swfdump.c
+++ b/
src/swfdump.c
@@
-666,6
+666,13
@@
int main (int argc,char ** argv)
if(!issprite) {mainframe++; framelabel = 0;}
}
+ if(tag->id == ST_SETBACKGROUNDCOLOR) {
+ U8 r = swf_GetU8(tag);
+ U8 g = swf_GetU8(tag);
+ U8 b = swf_GetU8(tag);
+ printf(" (%02x/%02x/%02x)",r,g,b);
+ }
+
if(tag->id == ST_DEFINEBITSLOSSLESS ||
tag->id == ST_DEFINEBITSLOSSLESS2) {
handleDefineBits(tag);