[FFmpeg-devel] [PATCH] ffserver: add comment about how Launch path program is created
Stefano Sabatini
stefasab at gmail.com
Thu Nov 28 18:34:06 CET 2013
---
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;
--
1.8.1.2
More information about the ffmpeg-devel
mailing list