ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <reyna...@osg.samsung.com> | Mon Dec 14 21:32:45 2015 -0800| [1fa81430ca9746ccce620a26313b3c1f1b698e0d] | committer: Reynaldo H. Verdejo Pinochet
ffserver: use EXIT_FAILURE on failed child fork() Signed-off-by: Reynaldo H. Verdejo Pinochet <reyna...@osg.samsung.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1fa81430ca9746ccce620a26313b3c1f1b698e0d --- ffserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffserver.c b/ffserver.c index 981eece..36dc234 100644 --- a/ffserver.c +++ b/ffserver.c @@ -443,7 +443,7 @@ static void start_children(FFServerStream *feed) feed->pid = fork(); if (feed->pid < 0) { http_log("Unable to create children: %s\n", strerror(errno)); - exit(1); + exit(EXIT_FAILURE); } if (feed->pid) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog