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:
992113e
)
set hasmetadata tag always for SWF's >= 8
author
kramm
<kramm>
Fri, 27 Jul 2007 19:58:07 +0000
(19:58 +0000)
committer
kramm
<kramm>
Fri, 27 Jul 2007 19:58:07 +0000
(19:58 +0000)
lib/rfxswf.c
patch
|
blob
|
history
diff --git
a/lib/rfxswf.c
b/lib/rfxswf.c
index
e309be6
..
0abd61a
100644
(file)
--- a/
lib/rfxswf.c
+++ b/
lib/rfxswf.c
@@
-1312,7
+1312,7
@@
int swf_WriteSWF2(writer_t*writer, SWF * swf) // Writes SWF to file, return
if(swf->fileVersion >= 8) {
if (swf->firstTag && swf->firstTag->id != ST_FILEATTRIBUTES)
{
- U32 flags = 0; // | 128 = usenetwork, | 8 = hasmetadata
+ U32 flags = 0x8; // | 128 = usenetwork, | 8 = hasmetadata
swf_SetU32(swf_InsertTagBefore(swf, swf->firstTag,ST_FILEATTRIBUTES),flags);
}
}