diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2005-11-13 01:45:13 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2005-11-13 01:45:13 +0000 |
commit | ac6a655b8a191a56dc194b548d8ba7bb16ea6abb (patch) | |
tree | 9dadc29db51a4f44032378bb6418de667162f223 /ffserver.c | |
parent | 4b4f38e42e7b390f3e7f0489da746dbbc9f6bbba (diff) | |
download | ffmpeg-ac6a655b8a191a56dc194b548d8ba7bb16ea6abb.tar.gz |
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
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ffserver.c b/ffserver.c index 9d34419c76..4bb95442f6 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3852,10 +3852,7 @@ static int parse_ffconfig(const char *filename) feed->child_argv = (char **) av_mallocz(64 * sizeof(char *)); - feed->child_argv[0] = av_malloc(7); - strcpy(feed->child_argv[0], "ffmpeg"); - - for (i = 1; i < 62; i++) { + for (i = 0; i < 62; i++) { char argbuf[256]; get_arg(argbuf, sizeof(argbuf), &p); |