diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2007-04-22 18:01:29 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2007-04-22 18:01:29 +0000 |
commit | 5eb782f080a9da3b4229f5fc6de9c08e8d504e9d (patch) | |
tree | ba0e07d42777c823f92eae89c21f25beeb7d023d /ffserver.c | |
parent | cb2abe3f4d5f97b18956b5cfec4c2319e8b45c56 (diff) | |
download | ffmpeg-5eb782f080a9da3b4229f5fc6de9c08e8d504e9d.tar.gz |
simplificate
Originally committed as revision 8786 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ffserver.c b/ffserver.c index f28cbe2880..b977830618 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3890,13 +3890,11 @@ static int parse_ffconfig(const char *filename) feed->child_argv = (char **) av_mallocz(64 * sizeof(char *)); for (i = 0; i < 62; i++) { - char argbuf[256]; - - get_arg(argbuf, sizeof(argbuf), &p); - if (!argbuf[0]) + get_arg(arg, sizeof(arg), &p); + if (!arg[0]) break; - feed->child_argv[i] = av_strdup(argbuf); + feed->child_argv[i] = av_strdup(arg); } feed->child_argv[i] = av_malloc(30 + strlen(feed->filename)); |