[FFmpeg-devel] [PATCH 10/13] ffserver: fix build failure on non linux machines

Ganesh Ajjanagadde gajjanagadde at gmail.com
Tue Jan 12 05:25:12 CET 2016


Simple test: just change to !defined(linux). No idea why this was never fixed...

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
---
 ffserver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ffserver.c b/ffserver.c
index 720d164..51928f3 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -2086,6 +2086,7 @@ static void compute_status(HTTPContext *c)
                         av_log(NULL, AV_LOG_WARNING,
                                "Unable to close pid stat '%s': %s\n",
                                ps_cmd, av_err2str(AVERROR(errno)));
+                 }
             }
 #endif
 
-- 
2.7.0



More information about the ffmpeg-devel mailing list