]> git.sesse.net Git - vlc/commitdiff
* 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 70b08c758a352a479217a0b01d930919b43e8cf5..8f322188983bd9c0e4bef65b5e5254d9bcec6862 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);