deletetag now takes two arguments
authorkramm <kramm>
Sun, 27 Jul 2008 09:36:48 +0000 (09:36 +0000)
committerkramm <kramm>
Sun, 27 Jul 2008 09:36:48 +0000 (09:36 +0000)
lib/modules/swfaction.c
lib/rfxswf.h

index 9a44798..9f44d4b 100644 (file)
@@ -1102,7 +1102,7 @@ ActionTAG* swf_ActionCompile(const char* source, int version)
     rfx_free(buffer);
 
     a = swf_ActionGet(tag);
-    swf_DeleteTag(tag);
+    swf_DeleteTag(0, tag);
     return a;
 }
 
index a650158..1b7d6a2 100644 (file)
@@ -192,7 +192,7 @@ void swf_OptimizeTagOrder(SWF*swf);
 
 TAG * swf_InsertTag(TAG * after,U16 id);    // updates frames, if necessary
 TAG * swf_InsertTagBefore(SWF*swf, TAG * before,U16 id);     // like InsertTag, but insert tag before argument
-int   swf_DeleteTag(TAG * t);
+TAG * swf_DeleteTag(SWF*swf, TAG * t);
 
 void  swf_ClearTag(TAG * t);                //frees tag data
 void  swf_ResetTag(TAG*tag, U16 id);        //set's tag position and length to 0, without freeing it