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

Re: [pygame] BUG: movie.c in SVN



Thanks Lenard.

Committed revision 1033.

On 8/14/07, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
>
> 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;
>
>