[FFmpeg-cvslog] ffserver: add comment about how Launch path program is created
Stefano Sabatini
git at videolan.org
Thu Nov 28 23:15:55 CET 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Nov 28 18:30:03 2013 +0100| [4f60d53b186782f822feafd417c6ee22ccd64bd4] | committer: Stefano Sabatini
ffserver: add comment about how Launch path program is created
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4f60d53b186782f822feafd417c6ee22ccd64bd4
---
ffserver.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ffserver.c b/ffserver.c
index 5c6db9a..d34c8a8 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;
More information about the ffmpeg-cvslog
mailing list