ffserver: add comment about how Launch path program is created
This commit is contained in:
@@ -509,8 +509,9 @@ static void start_children(FFStream *feed)
|
|||||||
char *slash;
|
char *slash;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
/* replace "ffserver" with "ffmpeg" in the path of current program,
|
||||||
|
* ignore user provided path */
|
||||||
av_strlcpy(pathname, my_program_name, sizeof(pathname));
|
av_strlcpy(pathname, my_program_name, sizeof(pathname));
|
||||||
|
|
||||||
slash = strrchr(pathname, '/');
|
slash = strrchr(pathname, '/');
|
||||||
if (!slash)
|
if (!slash)
|
||||||
slash = pathname;
|
slash = pathname;
|
||||||
|
Reference in New Issue
Block a user