From 5eb782f080a9da3b4229f5fc6de9c08e8d504e9d Mon Sep 17 00:00:00 2001
From: Alex Beregszaszi <alex@rtfs.hu>
Date: Sun, 22 Apr 2007 18:01:29 +0000
Subject: [PATCH] simplificate

Originally committed as revision 8786 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 ffserver.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/ffserver.c b/ffserver.c
index f28cbe2880e..b977830618d 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));
-- 
GitLab