OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cbbc4f
)
ffserver: add comment about how Launch path program is created
author
Stefano Sabatini
<stefasab@gmail.com>
Thu, 28 Nov 2013 17:30:03 +0000
(18:30 +0100)
committer
Stefano Sabatini
<stefasab@gmail.com>
Thu, 28 Nov 2013 22:13:45 +0000
(23:13 +0100)
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index
5c6db9a
..
d34c8a8
100644
(file)
--- 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;