Commit 4f60d53b authored by Stefano Sabatini's avatar Stefano Sabatini

ffserver: add comment about how Launch path program is created

parent 7cbbc4f7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment