From b625056b08233a4b2853810ce78db29a358c2317 Mon Sep 17 00:00:00 2001 From: Cyril Deguet Date: Tue, 17 Jun 2003 20:47:20 +0000 Subject: [PATCH] * fixed a very old bug preventing the whole thing from working :( --- python/vlcmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/vlcmodule.c b/python/vlcmodule.c index 70b08c758a..8f32218898 100644 --- a/python/vlcmodule.c +++ b/python/vlcmodule.c @@ -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); -- 2.39.2