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:
dbf6424
)
don't crash on zero abc_file during writing
author
Matthias Kramm
<kramm@quiss.org>
Fri, 13 Feb 2009 14:56:26 +0000
(15:56 +0100)
committer
Matthias Kramm
<kramm@quiss.org>
Fri, 13 Feb 2009 14:56:26 +0000
(15:56 +0100)
lib/as3/abc.c
patch
|
blob
|
history
diff --git
a/lib/as3/abc.c
b/lib/as3/abc.c
index
30e5616
..
60ad6e7
100644
(file)
--- a/
lib/as3/abc.c
+++ b/
lib/as3/abc.c
@@
-933,6
+933,8
@@
static pool_t*writeABC(TAG*abctag, void*code, pool_t*pool)
abc_file_t*file = (abc_file_t*)code;
if(!pool)
pool = pool_new();
+ if(!file)
+ file = abc_file_new();
TAG*tmp = swf_InsertTag(0,0);
TAG*tag = tmp;