From 0f54ba811030f2579cce874ef577e36d1c75270b Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 27 Jul 2008 09:36:48 +0000 Subject: [PATCH] deletetag now takes two arguments --- lib/modules/swfaction.c | 2 +- lib/rfxswf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/modules/swfaction.c b/lib/modules/swfaction.c index 9a44798..9f44d4b 100644 --- a/lib/modules/swfaction.c +++ b/lib/modules/swfaction.c @@ -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; } diff --git a/lib/rfxswf.h b/lib/rfxswf.h index a650158..1b7d6a2 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -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 -- 1.7.10.4