vlc | branch: master | KO Myung-Hun <[email protected]> | Wed Jan 30 16:34:53 2013 +0900| [cfe2c864c28e7406c8982f7f657bc51db709af66] | committer: Jean-Baptiste Kempf
vlccore: pass a proper argument to vlc_cancel_self() in vlc_testcancel() This fixes the problem that SAP hangs on even if it has been canceled. Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cfe2c864c28e7406c8982f7f657bc51db709af66 --- src/os2/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os2/thread.c b/src/os2/thread.c index 7e1f763..07b879d 100644 --- a/src/os2/thread.c +++ b/src/os2/thread.c @@ -605,7 +605,7 @@ void vlc_testcancel (void) /* This check is needed for the case that vlc_cancel() is followed by * vlc_testcancel() without any cancellation point */ if( DosWaitEventSem( th->cancel_event, 0 ) == NO_ERROR ) - vlc_cancel_self( NULL ); + vlc_cancel_self( th ); if (th->killable && th->killed) { _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
