mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
ffserver: add comment about how Launch path program is created
This commit is contained in:
parent
7cbbc4f7e7
commit
4f60d53b18
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user