[Ffmpeg-cvslog] r8786 - trunk/ffserver.c
alex
subversion
Sun Apr 22 20:01:29 CEST 2007
Author: alex
Date: Sun Apr 22 20:01:29 2007
New Revision: 8786
Log:
simplificate
Modified:
trunk/ffserver.c
Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c (original)
+++ trunk/ffserver.c Sun Apr 22 20:01:29 2007
@@ -3890,13 +3890,11 @@ static int parse_ffconfig(const char *fi
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));
More information about the ffmpeg-cvslog
mailing list