[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] BUG: movie.c in SVN




The Movie.play method crashes Python on Windows. The play_movie C method was made METH_NOARG without removing its PyObject* arg argument. I have included a patch that fixes it.

--
Lenard Lindstrom
<len-l@xxxxxxxxx>

45c45
< movie_play (PyObject* self, PyObject* args)
---
> movie_play (PyObject* self)
49,50d48
<     if (!PyArg_ParseTuple (args, "|i", &loops))
<         return NULL;