Browse Source

ffserver: add comment about how Launch path program is created

tags/n2.2-rc1
Stefano Sabatini 11 years ago
parent
commit
4f60d53b18
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ffserver.c

+ 2
- 1
ffserver.c View File

@@ -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…
Cancel
Save