diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-11-28 21:30:03 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-11-29 02:13:45 +0400 |
commit | 4f60d53b186782f822feafd417c6ee22ccd64bd4 (patch) | |
tree | 4fd2e8bc41e910dc7a5fbb5af2d11cd9d14f3d91 | |
parent | 7cbbc4f7e7ffdb874a25e269ac92f7bb161c5b83 (diff) |
ffserver: add comment about how Launch path program is created
-rw-r--r-- | ffserver.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |