[vlc-commits] interrupt: vlc_poll_i11e_cleanup() expects a vlc_interrupt_t on input

Steve Lhomme git at videolan.org
Mon May 9 16:58:56 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Mon May  9 16:39:52 2016 +0200| [15bca57c188b6fa5f515401e706713946646b9c8] | committer: Jean-Baptiste Kempf

interrupt: vlc_poll_i11e_cleanup() expects a vlc_interrupt_t on input

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=15bca57c188b6fa5f515401e706713946646b9c8
---

 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();
 



More information about the vlc-commits mailing list