allow some other image sizes in movie->addFrame().
[swftools.git] / lib / python / SWF.c
index 8d40a90..2ed67f3 100644 (file)
@@ -28,6 +28,7 @@
 #include "./tags.h"
 #include "./taglist.h"
 #include "./primitives.h"
+#include "./action.h"
 
 /*
 TODO:
@@ -70,7 +71,7 @@ static PyObject* f_create(PyObject* self, PyObject* args, PyObject* kwargs)
 
     if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|idOs", 
                kwlist, &version, &framerate, 
-               &obbox, filename))
+               &obbox, &filename))
        return NULL;
 
     if (!PY_CHECK_TYPE(obbox, &BBoxClass)) {
@@ -401,7 +402,7 @@ static PyObject* module_verbose(PyObject* self, PyObject* args, PyObject* kwargs
 {
     int _verbose = 0;
     static char *kwlist[] = {"verbosity", NULL};
-    if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i", kwlist, &verbose))
+    if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i", kwlist, &_verbose))
        return NULL;
     setVerbosity(_verbose);