<div dir="ltr">From 93b25542b4bc18cfeb42fc2e25f312a89a5e56df Mon Sep 17 00:00:00 2001<br>From: Zhao Zhili <<a href="mailto:wantlamy@gmail.com">wantlamy@gmail.com</a>><br>Date: Sun, 6 Nov 2016 11:09:05 +0800<br>Subject: [PATCH] std_logger: fix write to stop_pipe<br><br>---<br> libvlc/jni/std_logger.c | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/libvlc/jni/std_logger.c b/libvlc/jni/std_logger.c<br>index c6bf3b8..10e8771 100644<br>--- a/libvlc/jni/std_logger.c<br>+++ b/libvlc/jni/std_logger.c<br>@@ -167,7 +167,7 @@ std_logger_Close(std_logger *sys)<br> {<br>     if (sys->stop_pipe[1] != -1)<br>     {<br>-        write(sys->stop_pipe[1], '\0', 1);<br>+        write(sys->stop_pipe[1], "", 1);<br>         close(sys->stop_pipe[1]);<br>         sys->stop_pipe[1] = -1;<br>         pthread_join(sys->thread, NULL);<br>-- <br>2.7.4<br><br></div>