[vlc-devel] [PATCH] interrupt: vlc_poll_i11e_cleanup() expects a vlc_interrupt_t on input
Rémi Denis-Courmont
remi at remlab.net
Mon May 9 16:54:18 CEST 2016
Le 2016-05-09 16:39, Steve Lhomme a écrit :
> ---
> src/misc/interrupt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/misc/interrupt.c b/src/misc/interrupt.c
> index 43aa90f..a149da7 100644
> --- a/src/misc/interrupt.c
> +++ b/src/misc/interrupt.c
> @@ -648,7 +648,7 @@ int vlc_poll_i11e(struct pollfd *fds, unsigned
> nfds, int timeout)
>
> vlc_interrupt_prepare(ctx, vlc_poll_i11e_wake, th);
>
> - vlc_cleanup_push(vlc_poll_i11e_cleanup, th);
> + vlc_cleanup_push(vlc_poll_i11e_cleanup, ctx);
> ret = vlc_poll(fds, nfds, timeout);
> vlc_cleanup_pop();
LGTM.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list