From 4f60d53b186782f822feafd417c6ee22ccd64bd4 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 28 Nov 2013 18:30:03 +0100 Subject: ffserver: add comment about how Launch path program is created --- ffserver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ffserver.c') diff --git a/ffserver.c b/ffserver.c index 5c6db9afd7..d34c8a835c 100644 --- a/ffserver.c +++ b/ffserver.c @@ -509,8 +509,9 @@ static void start_children(FFStream *feed) char *slash; int i; + /* replace "ffserver" with "ffmpeg" in the path of current program, + * ignore user provided path */ av_strlcpy(pathname, my_program_name, sizeof(pathname)); - slash = strrchr(pathname, '/'); if (!slash) slash = pathname; -- cgit v1.2.3