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

Steve Lhomme robux4 at videolabs.io
Mon May 9 16:39:52 CEST 2016


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



More information about the vlc-devel mailing list