From c76b3f90fcf8511d3c1c37c9acd2b5a3ebc18cb8 Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 27 Jul 2007 19:58:07 +0000 Subject: [PATCH] set hasmetadata tag always for SWF's >= 8 --- lib/rfxswf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rfxswf.c b/lib/rfxswf.c index e309be6..0abd61a 100644 --- 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); } } -- 1.7.10.4