only set HASMETADATA for flash 9 files
authorkramm <kramm>
Tue, 7 Aug 2007 17:20:33 +0000 (17:20 +0000)
committerkramm <kramm>
Tue, 7 Aug 2007 17:20:33 +0000 (17:20 +0000)
lib/rfxswf.c

index 473dc2e..c7e6562 100644 (file)
@@ -1309,7 +1309,7 @@ int  swf_WriteSWF2(writer_t*writer, SWF * swf)     // Writes SWF to file, return
     }
   }
   
-  if(swf->fileVersion >= 8) {
+  if(swf->fileVersion >= 9) {
       if (swf->firstTag && swf->firstTag->id != ST_FILEATTRIBUTES)
       {
          U32 flags = 0x8; // | 128 = usenetwork, | 8 = hasmetadata