Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-11-28 21:30:03 +0400
committerStefano Sabatini <stefasab@gmail.com>2013-11-29 02:13:45 +0400
commit4f60d53b186782f822feafd417c6ee22ccd64bd4 (patch)
tree4fd2e8bc41e910dc7a5fbb5af2d11cd9d14f3d91 /ffserver.c
parent7cbbc4f7e7ffdb874a25e269ac92f7bb161c5b83 (diff)
ffserver: add comment about how Launch path program is created
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c3
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;