1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-07-11 14:30:22 +02:00

ffserver: reindent start_children()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
Reynaldo H. Verdejo Pinochet
2014-12-09 03:03:41 -03:00
parent ec42251715
commit 18011888cc

View File

@ -410,7 +410,6 @@ static void start_children(FFServerStream *feed)
feed->pid_start = time(0); feed->pid_start = time(0);
feed->pid = fork(); feed->pid = fork();
if (feed->pid < 0) { if (feed->pid < 0) {
http_log("Unable to create children\n"); http_log("Unable to create children\n");
exit(1); exit(1);
@ -423,6 +422,7 @@ static void start_children(FFServerStream *feed)
http_log("Launch command line: "); http_log("Launch command line: ");
http_log("%s ", pathname); http_log("%s ", pathname);
for (i = 1; feed->child_argv[i] && feed->child_argv[i][0]; i++) for (i = 1; feed->child_argv[i] && feed->child_argv[i][0]; i++)
http_log("%s ", feed->child_argv[i]); http_log("%s ", feed->child_argv[i]);
http_log("\n"); http_log("\n");
@ -440,9 +440,7 @@ static void start_children(FFServerStream *feed)
} }
signal(SIGPIPE, SIG_DFL); signal(SIGPIPE, SIG_DFL);
execvp(pathname, feed->child_argv); execvp(pathname, feed->child_argv);
_exit(1); _exit(1);
} }
} }