git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f446eb4
)
deletetag now takes two arguments
author
kramm
<kramm>
Sun, 27 Jul 2008 09:36:48 +0000
(09:36 +0000)
committer
kramm
<kramm>
Sun, 27 Jul 2008 09:36:48 +0000
(09:36 +0000)
lib/modules/swfaction.c
patch
|
blob
|
history
lib/rfxswf.h
patch
|
blob
|
history
diff --git
a/lib/modules/swfaction.c
b/lib/modules/swfaction.c
index
9a44798
..
9f44d4b
100644
(file)
--- 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
(file)
--- 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