From: kramm Date: Thu, 8 Apr 2004 08:59:25 +0000 (+0000) Subject: load() now does a FoldAll before passing the data to the taglist X-Git-Tag: stable_core_1~4 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=9817ae42f3b01b7e00612f5089664b98d2b788c5;p=swftools.git load() now does a FoldAll before passing the data to the taglist --- diff --git a/lib/python/SWF.c b/lib/python/SWF.c index 5f03825..ef7d49e 100644 --- a/lib/python/SWF.c +++ b/lib/python/SWF.c @@ -123,6 +123,7 @@ static PyObject* f_load(PyObject* self, PyObject* args) return 0; } close(fi); + swf_FoldAll(&swf->swf); swf->taglist = taglist_new2(swf->swf.firstTag); if(swf->taglist == NULL) { @@ -198,7 +199,7 @@ static PyObject * swf_save(PyObject* self, PyObject* args, PyObject* kwargs) } close(fi); - //swf_FreeTags(swf); + swf_FreeTags(swf); /*{ TAG * t = swf->firstTag; while (t) {