* fixed a very old bug preventing the whole thing from working :(
authorCyril Deguet <asmax@videolan.org>
Tue, 17 Jun 2003 20:47:20 +0000 (20:47 +0000)
committerCyril Deguet <asmax@videolan.org>
Tue, 17 Jun 2003 20:47:20 +0000 (20:47 +0000)
python/vlcmodule.c

index 70b08c7..8f32218 100644 (file)
@@ -20,7 +20,7 @@ static PyObject *vlc_init(PyObject *self, PyObject *args)
     char *pArgv[] = { "vlc", "--sout", NULL };
     int iRc;
 
-    if (!PyArg_ParseTuple(args, "iss", &iVlc, &pArgv[2]))
+    if (!PyArg_ParseTuple(args, "is", &iVlc, &pArgv[2]))
         return NULL;
     iRc = VLC_Init(iVlc, 3, pArgv);
     return Py_BuildValue("i", iRc);