Commit ac6a655b authored by Alex Beregszaszi's avatar Alex Beregszaszi

Make Launch more appropriate with support for full paths for the ffmpeg binary

Originally committed as revision 4693 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4b4f38e4
...@@ -51,7 +51,9 @@ FileMaxSize 200K ...@@ -51,7 +51,9 @@ FileMaxSize 200K
# This marks the file as readonly and it will not be deleted or updated. # This marks the file as readonly and it will not be deleted or updated.
# Specify launch in order to start ffmpeg automatically. # Specify launch in order to start ffmpeg automatically.
#Launch # First ffmpeg must be defined with an appropriate path if needed,
# after that options can follow, but avoid adding the http:// field
#Launch ffmpeg
# Only allow connections from localhost to the feed. # Only allow connections from localhost to the feed.
ACL allow 127.0.0.1 ACL allow 127.0.0.1
......
...@@ -3852,10 +3852,7 @@ static int parse_ffconfig(const char *filename) ...@@ -3852,10 +3852,7 @@ static int parse_ffconfig(const char *filename)
feed->child_argv = (char **) av_mallocz(64 * sizeof(char *)); feed->child_argv = (char **) av_mallocz(64 * sizeof(char *));
feed->child_argv[0] = av_malloc(7); for (i = 0; i < 62; i++) {
strcpy(feed->child_argv[0], "ffmpeg");
for (i = 1; i < 62; i++) {
char argbuf[256]; char argbuf[256];
get_arg(argbuf, sizeof(argbuf), &p); get_arg(argbuf, sizeof(argbuf), &p);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment