[FFmpeg-cvslog] ffserver: be explicit on failed fork() msg

Reynaldo H. Verdejo Pinochet git at videolan.org
Tue Dec 15 19:18:07 CET 2015


ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com> | Mon Dec 14 16:10:20 2015 -0800| [eb68c35670afbb1f8e8abc010f1e1cae9e4122f7] | committer: Reynaldo H. Verdejo Pinochet

ffserver: be explicit on failed fork() msg

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eb68c35670afbb1f8e8abc010f1e1cae9e4122f7
---

 ffserver.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffserver.c b/ffserver.c
index 4392a62..981eece 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -442,7 +442,7 @@ static void start_children(FFServerStream *feed)
 
         feed->pid = fork();
         if (feed->pid < 0) {
-            http_log("Unable to create children\n");
+            http_log("Unable to create children: %s\n", strerror(errno));
             exit(1);
         }
 



More information about the ffmpeg-cvslog mailing list