From 0ca3fee4832ff2576e45a9cb1fbd6f47c74c3e56 Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 21 Aug 2008 19:00:54 +0000 Subject: [PATCH] fixed avm3 detection --- lib/rfxswf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/rfxswf.c b/lib/rfxswf.c index 94346e4..b540cf1 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -1336,6 +1336,8 @@ int swf_WriteSWF2(writer_t*writer, SWF * swf) // Writes SWF to file, return if(swf->fileVersion >= 9) { TAG*tag = swf->firstTag; U32 flags = 0x08; // | 128 = usenetwork, | 16 = hasmetadata | 8 = actionscript3 + int has_version_8_action=0; + int has_version_9_action=0; while(tag) { /* FIXME: this doesn't find actionscript in buttons */ if(tag->id == ST_DOACTION || tag->id == ST_DOINITACTION) -- 1.7.10.4